I agree with chris
On 7/25/06, Christopher Schultz [EMAIL PROTECTED] wrote:
Darren,
My jar file (foo.jar) is in the
webapps/abc/WEB-INF/lib directory for my 'abc' application. However, in
the
Catalina log file, when Tomcat starts, I get a ClassNotFound -
com.abc.framework.ControlServlet
I wanted to confirm that jar files in the WEB-INF/lib directory were
included in the classpath for my application. In reading through the online
documentation for Tomcat I found the following:
WebappX - A class loader is created for each web application that is
deployed in a single Tomcat 5
the controller servet was not deployed with the war file.
Darren
-Original Message-
From: Darren Hall [mailto:[EMAIL PROTECTED]
Sent: Monday, July 24, 2006 3:07 PM
To: 'Tomcat Users List'
Subject: RE: Setting the classpath for my application
I wanted to confirm that jar files in the WEB
Ok. Confirmed. Per the servlet spec, all jars in the WEB-INF/lib
folder are included in the webapp's classloader.
Now, here are some questions that might help narrow down what's happening:
1. Is the jar a valid jar file? Does it's internal folder structure
mirror the package structure?
.
- Original Message - From: Darren Hall [EMAIL PROTECTED]
To: 'Tomcat Users List' users@tomcat.apache.org
Sent: Monday, July 24, 2006 3:06 PM
Subject: RE: Setting the classpath for my application
I wanted to confirm that jar files in the WEB-INF/lib directory were
included in the classpath for my
Darren,
My jar file (foo.jar) is in the
webapps/abc/WEB-INF/lib directory for my 'abc' application. However, in the
Catalina log file, when Tomcat starts, I get a ClassNotFound -
com.abc.framework.ControlServlet error. Why can my servlet not be found if
it resides in the jar under the