File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Head First Android this week in the Android 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(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(

your valuable reply would be helpful to me.

I agree. Here's the link:
subject: Servlet not not loading axis2 xmlBeans jar
It's not a secret anymore!