Hibernate Validator java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.validator.internal.engine.ConfigurationImpl

前端 未结 7 454
南方客
南方客 2021-01-19 02:15

I have read this and this, but that didn\'t help...

I am using hibernate validator with the following versions/dependencies:


             


        
7条回答
  •  离开以前
    2021-01-19 02:41

    Add this in spring-servelt.xml

       
    

    and following jars

    1. hibernate-validator-6.0.17.Final.jar
    2. validation-api-2.0.1.Final.jar
    3. classmate-1.3.4.jar
    4. jboss-logging-3.3.2.Final.jar

    then all will work fine.

    Happy to help...

提交回复
热议问题