You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Darren Hall <dh...@utrs.com> on 2006/07/24 17:18:38 UTC

ClassNotFound - Is WEB-INF/lib in my app's classpath?

Ok, I've deployed my application in Tomcat 5.5 on Solaris using the war
deploy feature in the manager.

The application (lets call it 'foo') shows up in the manager as '/foo', so I
know that it deploys. When I look in catalina.log, I see a ClassNotFound
exception, alerting me that the ClassLoader wasn't able to find my
ControllerServlet class. Here is the error from Catalina.log:

2006-07-24 09:38:46,987 DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
Sending application start events
2006-07-24 09:38:46,987 DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
Starting filters
2006-07-24 09:38:47,002 INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
Marking servlet controller as unavailable
2006-07-24 09:38:47,002 ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] - Error
loading WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@1c92535
 com.abc.framework.controller.ControlServlet
java.lang.ClassNotFoundException:
com.abc.framework.controller.ControlServlet

My ControlServlet class is located in this jar file
webapps/foo/WEB-INF/lib/abc.jar in the package
com.abc.framework.controller;.

Are the jar files in WEB-INF/lib included in my application's classpath by
default? Do I need to make a classpath change somewhere? Is the fact that
WEB-INF/lib not show up in the repositories listing above meaningful?

Why can't Tomcat's classloader find my ControlServlet class?

Thanks,

Darren


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Setting the classpath for my application

Posted by David Smith <dn...@cornell.edu>.
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?
2. Are there any permission problems that might prevent tomcat from 
reading the jar file?
3. After placing this jar file in WEB-INF/lib, did you restart the 
webapp from the manager or tomcat itself?
4. Is there any indication in the logs that tomcat is having an issue 
loading your 'foo.jar' file?
5. Is foo.jar really in WEB-INF/lib or did you do some symlink/shortcut 
scheme that tomcat might not follow?

--David


Darren Hall wrote:

>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 instance. All unpacked classes and resources
>in the /WEB-INF/classes directory of your web application archive, plus
>classes and resources in JAR files under the /WEB-INF/lib directory of your
>web application archive, are made visible to the containing web application,
>but to no others."
>
>I am doing exactly this. 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 WEB-INF/lib directory???
>
>Any help would be appreciated.
>
>Thanks,
>
>Darren
>
>
>
>-----Original Message-----
>From: Darren Hall [mailto:dhall@utrs.com] 
>Sent: Monday, July 24, 2006 1:59 PM
>To: 'Tomcat Users List'
>Subject: Setting the classpath for my application
>
>Is the fact that I'm receiving a ClassNotFound error from Tomcat's
>ClassLoader for a class that I've created indicative of a bad classpath?
>Are jar files stored in WEB-INF/lib automatically included in Tomcat's
>classpath for my application?
>
>If so, how do I set the classpath for my application in Tomcat?
>
>Thanks,
>
>Darren
>
>-----Original Message-----
>From: Darren Hall [mailto:dhall@utrs.com] 
>Sent: Monday, July 24, 2006 11:19 AM
>To: 'Tomcat Users List'
>Subject: ClassNotFound - Is WEB-INF/lib in my app's classpath?
>
>Ok, I've deployed my application in Tomcat 5.5 on Solaris using the war
>deploy feature in the manager.
>
>The application (lets call it 'foo') shows up in the manager as '/foo', so I
>know that it deploys. When I look in catalina.log, I see a ClassNotFound
>exception, alerting me that the ClassLoader wasn't able to find my
>ControllerServlet class. Here is the error from Catalina.log:
>
>2006-07-24 09:38:46,987 DEBUG
>org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
>Sending application start events
>
>2006-07-24 09:38:46,987 DEBUG
>org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
>Starting filters
>
>2006-07-24 09:38:47,002 INFO
>org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
>Marking servlet controller as unavailable
>
>2006-07-24 09:38:47,002 ERROR
>org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] - Error
>loading WebappClassLoader
>  delegate: false
>  repositories:
>    /WEB-INF/classes/
>----------> Parent Classloader:
>org.apache.catalina.loader.StandardClassLoader@1c92535
> com.abc.framework.controller.ControlServlet
>java.lang.ClassNotFoundException:
>com.abc.framework.controller.ControlServlet
>
>My ControlServlet class is located in this jar file
>webapps/foo/WEB-INF/lib/abc.jar in the package
>com.abc.framework.controller;.
>
>Are the jar files in WEB-INF/lib included in my application's classpath by
>default? Do I need to make a classpath change somewhere? Is the fact that
>WEB-INF/lib not show up in the repositories listing above meaningful?
>
>Why can't Tomcat's classloader find my ControlServlet class?
>
>Thanks,
>
>Darren
>
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>  
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Setting the classpath for my application

Posted by Martin Gainty <mg...@hotmail.com>.
Darren

Perhaps you have a meta-tag in META-INF suggests re-routing to a different class?
I would also make sure you have reloaded your webapp after re-reploying your classes

M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- From: "Darren Hall" <dh...@utrs.com>
To: "'Tomcat Users List'" <us...@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 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 instance. All unpacked classes and resources
in the /WEB-INF/classes directory of your web application archive, plus
classes and resources in JAR files under the /WEB-INF/lib directory of your
web application archive, are made visible to the containing web application,
but to no others."

I am doing exactly this. 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 WEB-INF/lib directory???

Any help would be appreciated.

Thanks,

Darren



-----Original Message-----
From: Darren Hall [mailto:dhall@utrs.com] 
Sent: Monday, July 24, 2006 1:59 PM
To: 'Tomcat Users List'
Subject: Setting the classpath for my application

Is the fact that I'm receiving a ClassNotFound error from Tomcat's
ClassLoader for a class that I've created indicative of a bad classpath?
Are jar files stored in WEB-INF/lib automatically included in Tomcat's
classpath for my application?

If so, how do I set the classpath for my application in Tomcat?

Thanks,

Darren

-----Original Message-----
From: Darren Hall [mailto:dhall@utrs.com] 
Sent: Monday, July 24, 2006 11:19 AM
To: 'Tomcat Users List'
Subject: ClassNotFound - Is WEB-INF/lib in my app's classpath?

Ok, I've deployed my application in Tomcat 5.5 on Solaris using the war
deploy feature in the manager.

The application (lets call it 'foo') shows up in the manager as '/foo', so I
know that it deploys. When I look in catalina.log, I see a ClassNotFound
exception, alerting me that the ClassLoader wasn't able to find my
ControllerServlet class. Here is the error from Catalina.log:

2006-07-24 09:38:46,987 DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
Sending application start events

2006-07-24 09:38:46,987 DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
Starting filters

2006-07-24 09:38:47,002 INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
Marking servlet controller as unavailable

2006-07-24 09:38:47,002 ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] - Error
loading WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@1c92535
 com.abc.framework.controller.ControlServlet
java.lang.ClassNotFoundException:
com.abc.framework.controller.ControlServlet

My ControlServlet class is located in this jar file
webapps/foo/WEB-INF/lib/abc.jar in the package
com.abc.framework.controller;.

Are the jar files in WEB-INF/lib included in my application's classpath by
default? Do I need to make a classpath change somewhere? Is the fact that
WEB-INF/lib not show up in the repositories listing above meaningful?

Why can't Tomcat's classloader find my ControlServlet class?

Thanks,

Darren


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Setting the classpath for my application

Posted by Suresh babu <su...@gmail.com>.
I agree with chris

On 7/25/06, Christopher Schultz <ch...@christopherschultz.net> 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" error. Why can my servlet not be found
> if
> > it resides in the jar under the WEB-INF/lib directory???
>
> Can you confirm with "jar tvf webapps/abd/WEB-INF/lib/abc.jar" that your
> class is actually in there with the path
> "com/abc/framework/ControlServlet.class"?
>
> Another thing you could try is this:
>
> $ javap -classpath webapps/abc/WEB-INF/lib/abc.jar  \
>                   com.abc.framework.ControlServlet
>
> This should print out the API of your class. If it does not, then either
> the JAR is broken or the package and class names are incorrect.
>
> -chris
>
>
>
>
>


-- 
Suresh Babu,
Software Engineer,
Computer Associates-India

Re: Setting the classpath for my application

Posted by Christopher Schultz <ch...@christopherschultz.net>.
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 WEB-INF/lib directory???

Can you confirm with "jar tvf webapps/abd/WEB-INF/lib/abc.jar" that your
class is actually in there with the path
"com/abc/framework/ControlServlet.class"?

Another thing you could try is this:

$ javap -classpath webapps/abc/WEB-INF/lib/abc.jar  \
                   com.abc.framework.ControlServlet

This should print out the API of your class. If it does not, then either
the JAR is broken or the package and class names are incorrect.

-chris



RE: Setting the classpath for my application

Posted by Darren Hall <dh...@utrs.com>.
*sigh*

Apologies to the group. There is no need to respond to my posts.
I knew it had to be something easy that I was overlooking.

The problem was caused by the fact that my build.xml was not including my
compiled code in the jar file I was creating, so my jar was essentially
empty, and thus the controller servet was not deployed with the war file.

Darren


-----Original Message-----
From: Darren Hall [mailto:dhall@utrs.com] 
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-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 instance. All unpacked classes and resources
in the /WEB-INF/classes directory of your web application archive, plus
classes and resources in JAR files under the /WEB-INF/lib directory of your
web application archive, are made visible to the containing web application,
but to no others."

I am doing exactly this. 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 WEB-INF/lib directory???

Any help would be appreciated.

Thanks,

Darren



-----Original Message-----
From: Darren Hall [mailto:dhall@utrs.com] 
Sent: Monday, July 24, 2006 1:59 PM
To: 'Tomcat Users List'
Subject: Setting the classpath for my application

Is the fact that I'm receiving a ClassNotFound error from Tomcat's
ClassLoader for a class that I've created indicative of a bad classpath?
Are jar files stored in WEB-INF/lib automatically included in Tomcat's
classpath for my application?

If so, how do I set the classpath for my application in Tomcat?

Thanks,

Darren

-----Original Message-----
From: Darren Hall [mailto:dhall@utrs.com] 
Sent: Monday, July 24, 2006 11:19 AM
To: 'Tomcat Users List'
Subject: ClassNotFound - Is WEB-INF/lib in my app's classpath?

Ok, I've deployed my application in Tomcat 5.5 on Solaris using the war
deploy feature in the manager.

The application (lets call it 'foo') shows up in the manager as '/foo', so I
know that it deploys. When I look in catalina.log, I see a ClassNotFound
exception, alerting me that the ClassLoader wasn't able to find my
ControllerServlet class. Here is the error from Catalina.log:

2006-07-24 09:38:46,987 DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
Sending application start events

2006-07-24 09:38:46,987 DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
Starting filters

2006-07-24 09:38:47,002 INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
Marking servlet controller as unavailable

2006-07-24 09:38:47,002 ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] - Error
loading WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@1c92535
 com.abc.framework.controller.ControlServlet
java.lang.ClassNotFoundException:
com.abc.framework.controller.ControlServlet

My ControlServlet class is located in this jar file
webapps/foo/WEB-INF/lib/abc.jar in the package
com.abc.framework.controller;.

Are the jar files in WEB-INF/lib included in my application's classpath by
default? Do I need to make a classpath change somewhere? Is the fact that
WEB-INF/lib not show up in the repositories listing above meaningful?

Why can't Tomcat's classloader find my ControlServlet class?

Thanks,

Darren


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Setting the classpath for my application

Posted by Darren Hall <dh...@utrs.com>.
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 instance. All unpacked classes and resources
in the /WEB-INF/classes directory of your web application archive, plus
classes and resources in JAR files under the /WEB-INF/lib directory of your
web application archive, are made visible to the containing web application,
but to no others."

I am doing exactly this. 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 WEB-INF/lib directory???

Any help would be appreciated.

Thanks,

Darren



-----Original Message-----
From: Darren Hall [mailto:dhall@utrs.com] 
Sent: Monday, July 24, 2006 1:59 PM
To: 'Tomcat Users List'
Subject: Setting the classpath for my application

Is the fact that I'm receiving a ClassNotFound error from Tomcat's
ClassLoader for a class that I've created indicative of a bad classpath?
Are jar files stored in WEB-INF/lib automatically included in Tomcat's
classpath for my application?

If so, how do I set the classpath for my application in Tomcat?

Thanks,

Darren

-----Original Message-----
From: Darren Hall [mailto:dhall@utrs.com] 
Sent: Monday, July 24, 2006 11:19 AM
To: 'Tomcat Users List'
Subject: ClassNotFound - Is WEB-INF/lib in my app's classpath?

Ok, I've deployed my application in Tomcat 5.5 on Solaris using the war
deploy feature in the manager.

The application (lets call it 'foo') shows up in the manager as '/foo', so I
know that it deploys. When I look in catalina.log, I see a ClassNotFound
exception, alerting me that the ClassLoader wasn't able to find my
ControllerServlet class. Here is the error from Catalina.log:

2006-07-24 09:38:46,987 DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
Sending application start events

2006-07-24 09:38:46,987 DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
Starting filters

2006-07-24 09:38:47,002 INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
Marking servlet controller as unavailable

2006-07-24 09:38:47,002 ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] - Error
loading WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@1c92535
 com.abc.framework.controller.ControlServlet
java.lang.ClassNotFoundException:
com.abc.framework.controller.ControlServlet

My ControlServlet class is located in this jar file
webapps/foo/WEB-INF/lib/abc.jar in the package
com.abc.framework.controller;.

Are the jar files in WEB-INF/lib included in my application's classpath by
default? Do I need to make a classpath change somewhere? Is the fact that
WEB-INF/lib not show up in the repositories listing above meaningful?

Why can't Tomcat's classloader find my ControlServlet class?

Thanks,

Darren


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Setting the classpath for my application

Posted by Darren Hall <dh...@utrs.com>.
Is the fact that I'm receiving a ClassNotFound error from Tomcat's
ClassLoader for a class that I've created indicative of a bad classpath?
Are jar files stored in WEB-INF/lib automatically included in Tomcat's
classpath for my application?

If so, how do I set the classpath for my application in Tomcat?

Thanks,

Darren

-----Original Message-----
From: Darren Hall [mailto:dhall@utrs.com] 
Sent: Monday, July 24, 2006 11:19 AM
To: 'Tomcat Users List'
Subject: ClassNotFound - Is WEB-INF/lib in my app's classpath?

Ok, I've deployed my application in Tomcat 5.5 on Solaris using the war
deploy feature in the manager.

The application (lets call it 'foo') shows up in the manager as '/foo', so I
know that it deploys. When I look in catalina.log, I see a ClassNotFound
exception, alerting me that the ClassLoader wasn't able to find my
ControllerServlet class. Here is the error from Catalina.log:

2006-07-24 09:38:46,987 DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
Sending application start events

2006-07-24 09:38:46,987 DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
Starting filters

2006-07-24 09:38:47,002 INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] -
Marking servlet controller as unavailable

2006-07-24 09:38:47,002 ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo] - Error
loading WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@1c92535
 com.abc.framework.controller.ControlServlet
java.lang.ClassNotFoundException:
com.abc.framework.controller.ControlServlet

My ControlServlet class is located in this jar file
webapps/foo/WEB-INF/lib/abc.jar in the package
com.abc.framework.controller;.

Are the jar files in WEB-INF/lib included in my application's classpath by
default? Do I need to make a classpath change somewhere? Is the fact that
WEB-INF/lib not show up in the repositories listing above meaningful?

Why can't Tomcat's classloader find my ControlServlet class?

Thanks,

Darren


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org