Per the Hibernate annotations 3.5 documentation:*
Hibernate 3.5 and onward contains Hibernate Annotations.
You should remove the dependency on hibernate-annotations
, and remove the exclude
s from the hibernate-entitymanager
dependency. Generally, you should not mix versions of dependent packages.
Read full article from How can i resolve java.lang.ClassNotFoundException: org.hibernate.util.DTDEntityResolver when using
No comments:
Post a Comment