Home  >  Forum  >  Spring
Post New Query

java.lang.ClassNotFoundException: org.exolab.castor.mapping.MappingException

joined on
March 22,2015
Asked on March 24,2015
Hi Friends, I am working with spring object xml mapping and getting the exception. How to fix it.

Caused by: java.lang.ClassNotFoundException: org.exolab.castor.mapping.MappingException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 46 more
joined on
November 09,2013
Replied on March 25,2015

You need castor-xml JAR.
Use maven as 


Or Gradle as 

compile 'org.codehaus.castor:castor-xml:1.3.1'

Write Answer

Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us