Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: how to solve "java.lang.NoClassDefFoundError"

Swapan Mazumdar

2003-10-13

Replies:

Hi Richard,

Your problem might be related to the driver class not available in your
classpath. You can find the exact cause by looking at
the _0002fconnect_00033_0002ejspconnect3_jsp_20.java:82) at line no. 82.
Look at
tomcat_home/work/../localhost/yourwebapp/jsp/_0002fconnect_00033_0002ejspcon
nect3_jsp_20.java

Can you check if your dependent jar (firebirdsql-full.jar) is placed under
WEB-INF/lib folder.
Placing dependent jar files here must solve your problems.

hope it could help.
regards
SM

-----Original Message-----
From: Richard Drent (Drent IT BV) [mailto:info@(protected)]
Sent: Monday, October 13, 2003 10:52 AM
To: 'Tomcat Users List'
Subject: how to solve "java.lang.NoClassDefFoundError"



Can anyone tell me what this meens, and how to solve.

This error accurse when I try to connect to a firebird db, using
firebirdsql-full.jar

Root cause:
java.lang.NoClassDefFoundError
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName (Class.java:120)
 at
_0002fconnect_00033_0002ejspconnect3_jsp_20._jspService(_0002fconnect_00033_
0002ejspconnect3_jsp_20.java:82)
 at
org.apache.jasper.runtime.HttpJspBase.service (HttpJspBase.java:119)
 at javax.servlet.http.HttpServlet.service (HttpServlet.java:853)
 at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va:130)
 at javax.servlet.http.HttpServlet.service (HttpServlet.java:853)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:282)
 at
org.apache.jasper.servlet.JspServlet.serviceJspFile (JspServlet.java:429)
 at org.apache.jasper.servlet.JspServlet.service (JspServlet.java:500)
 at javax.servlet.http.HttpServlet.service (HttpServlet.java:853)
 at
org.apache.tomcat.core.ServletWrapper.doService (ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at
org.apache.tomcat.core.ServletWrapper.service (ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService (ContextManager.java:81
2)
 at
org.apache.tomcat.core.ContextManager.service (ContextManager.java:758)
 at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:166)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
 at java.lang.Thread.run (Thread.java:484)


Greetz


Richard Drent






---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.