wood burning stoves
The moose likes Web Services and the fly likes Servlet not not loading axis2 xmlBeans jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Servlet not not loading axis2 xmlBeans jar" Watch "Servlet not not loading axis2 xmlBeans jar" New topic

Servlet not not loading axis2 xmlBeans jar

Sathees Tharmarajah

Joined: Aug 09, 2009
Posts: 20
hi All,

I have developed a small web application, there on Servlet call the Axis2 web services using its ws xml beans clients.
following line of code gives following error. but I have placed the xmlbeans-2.3.0.jar in Webapp/myApp/WEB-INF/lib
}catch(Exception e){
......................... console out is ..........................
java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlObject
at java.lang.ClassLoader.findBootstrapClass(Native Method)
at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

your valuable reply would be helpful to me.

I agree. Here's the link: http://aspose.com/file-tools
subject: Servlet not not loading axis2 xmlBeans jar
It's not a secret anymore!