Home  >  Forum  >  Hibernate
Post New Query

java.lang.ClassNotFoundException: org.hibernate.MappingException



Asked on November 27, 2013
Caused by: java.lang.ClassNotFoundException: org.hibernate.MappingException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 19 more

Need Help for above exception.




Replied on November 27, 2013
Add jar dependency in your pom.xml as

<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.5.6-Final</version>
    </dependency>


Write Answer




©2019 concretepage.com | Privacy Policy | Contact Us