[jdom-interest] jdom and wsad

pamarti srikiran psrikiran at rediffmail.com
Fri Nov 5 13:53:00 PST 2004


hi im trying to build an xml file in a servlet using jdom. when i 
try to run the servlet in WAS/WSAD its giving me the following 
error.
i included jar file in the project.

can anyone help me.

thanks
-sri

[11/5/04 16:43:54:328 EST] 41fa7c5b WebGroup      E SRVE0020E: 
[Servlet Error]-[TestServlet]: Failed to load servlet: 
java.lang.NoClassDefFoundError: org/jdom/Content
 	at java.lang.Class.getDeclaredConstructors0(Native Method)
 	at 
java.lang.Class.privateGetDeclaredConstructors(Class.java:1716)
 	at java.lang.Class.getConstructor1(Class.java(Compiled Code))
 	at java.lang.Class.newInstance3(Class.java(Compiled Code))
 	at java.lang.Class.newInstance(Class.java(Compiled Code))
 	at java.beans.Beans.instantiate(Beans.java:218)
 	at java.beans.Beans.instantiate(Beans.java:62)
 	at 
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:188)
 	at 
com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServletReference(WebAppServletManager.java:455)
 	at 
com.ibm.ws.webcontainer.webapp.WebApp.getServletReference(WebApp.java:652)
 	at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.calculateInfo(WebAppRequestDispatcherInfo.java:187)
 	at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.<init>(WebAppRequestDispatcherInfo.java:68)
 	at 
com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1462)
 	at 
com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1421)
 	at 
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:268)
 	at 
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
 	at 
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
 	at 
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
 	at 
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
 	at 
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
 	at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
 	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)


More information about the jdom-interest mailing list