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

前端 未结 7 566
南方客
南方客 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:21

    For me the problem was that Hibernate Validator depended on jboss-logging. And the jboss logging was not part of my classpath. The exception was not telling me that the class not def found error while trying to instantiate the hibernate configuration impl was from missing jboss logging on the classpath.

    Once I added it to the classpath, the class def not found error went away.

提交回复
热议问题