This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

Servlet not not loading axis2 xmlBeans jar

Sathees Tharmarajah
Greenhorn

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
try{
Class.forname("test.xsd.SampleRequest");
}catch(Exception e){
e.printStractrace();
}
......................... 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.

sathees
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Servlet not not loading axis2 xmlBeans jar
 
Similar Threads
Make sure the generated binary files are on the classpath
Help! Wsdl2Java Can't parse a Coldfusion WSDL?
ClassNotFoundException: TypeSystemHolder
classpath problem
XMLbeans giving problem with WebSphere