Home  >  Forum  >  Spring
Post New Query

ClassNotFoundException: org.exolab.castor.xml.XMLException


joined on
March 22,2015
Asked on March 25,2015
While running my Spring OXM application,  I am getting error. Need help.

Caused by: java.lang.ClassNotFoundException: org.exolab.castor.xml.XMLException
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 26,2015

Check the dependency for castor-xml API.
Use maven as 

<dependency>
<groupId>org.codehaus.castor</groupId>
<artifactId>castor-xml</artifactId>
<version>1.3.1</version>
</dependency>

Or Gradle as 

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

Write Answer



Sitewide-Feb4of4234x60





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