Reputation: 342
I would like to deploy my project without /WEB-INF/lib
.
I created a folder /usr/share/tomcat7/mylib
and move all the files from /WEB-INF/lib
. I ordered this directory for common.loader
, but the application has stopped running.
java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.validator.internal.engine.ConfigurationImpl
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
...
Upvotes: 0
Views: 336
Reputation: 4030
The error is due to org.hibernate.validator.internal.engine.ConfigurationImpl not spring libraries. Check for hibernate-validator jar
Upvotes: 2