SV: [jdom-interest] please help

Per Norrman pernorrman at telia.com
Tue Oct 28 15:23:37 PST 2003


Well, make sure that you have jdom.jar in WEB-INF/lib

/pmn


> -----Ursprungligt meddelande-----
> Från: jdom-interest-admin at jdom.org 
> [mailto:jdom-interest-admin at jdom.org] För Sridhar Gopu
> Skickat: den 28 oktober 2003 19:57
> Till: jdom-interest at jdom.org
> Ämne: [jdom-interest] please help
> 
> 
> Hi,
> I'm a beginner to JDOM and I came across a tutorial on 
> JDOM,JSP where they have given an example application. Here 
> is the link 
> http://cswww.essex.ac.uk/TechnicalGroup/TechnicalHelp/jdom1.htm
> 
> I have unzipped the files and placed them in 
> tomcat/webapps/cards directory, and I also recompiled the 
> .java files, but when i open the page 
> http://localhost:8080/cards/welcomecard.html
> and enter some data, it gives an error while running the 
> http://localhost:8080/cards/cardCreate.jsp page 
> it says
> 
> Error: 500
> Location: /cards/cardCreate.jsp
> Internal Servlet Error:
> 
> java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilder
> 	at BC.(BC.java:29)
> 	at BC.(BC.java:21)
> 	at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCo
> nstructorAccessorImpl.java:39)
> 	at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Dele
gatingConstructorAccessorImpl.java:27)
> 	at 
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> 	at java.lang.Class.newInstance0(Class.java:306)
> 	at java.lang.Class.newInstance(Class.java:259)
> 	at java.beans.Beans.instantiate(Beans.java:204)
> 	at java.beans.Beans.instantiate(Beans.java:48)
> 	at cardCreate_1._jspService(cardCreate_1.java:71)
> 	at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> 	at 
> org.apache.tomcat.facade.ServletHandler.doService(ServletHandl
> er.java:574)
> 	at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
> 	at org.apache.tomcat.core.Handler.service(Handler.java:235)
> 	at 
> org.apache.tomcat.facade.ServletHandler.service(ServletHandler
> .java:485)
> 	at 
> org.apache.tomcat.core.ContextManager.internalService(ContextM
> anager.java:917)
> 	at 
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
> 	at 
> org.apache.tomcat.modules.server.Http10Interceptor.processConn
> ection(Http10Interceptor.java:176)
> 	at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:494)
> 	at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:516)
> 	at java.lang.Thread.run(Thread.java:536)
> 
> any ideas please?? I kindly request you to please help me 
> out. I'll look forward for your replies.
> 
> Thanks,
> sridhar.
> 
> 
> 
> 
> _______________________________________________
> To control your jdom-interest membership: 
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com




More information about the jdom-interest mailing list