You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dirk Brockmann <zw...@chaos.gwdg.de> on 2000/09/12 09:34:11 UTC

Tomcat doesn't seem to find jar-files in WEB-INF/lib

Hello erveryone,
I have installed tomcat under Linux and
the SDK1.2.2 and everything
seems to be working fine, a surprise to
me, knowing that I have basically
no clue about what's going on. I have
written a couple af example-servlets 
just for kicks and they work. A few of
these servlets rely on ECS
and the ecs.jar is globally available on
my Java-Platform.
I read in the application development
tutorial that comes with tomcat
and in the servlet spec. that I can put
optional, application specific
jars that my application needs
in the WEB-INF/lib subdirectory. So what
I tried is the following.
I made the ecs.jar globally unavailable
and put it in the
WEB-INF/lib directory. I restarted
tomcat and those servlets that
rely on ecs produce the error:

java.lang.NoClassDefFoundError:
org/apache/ecs/Document

So the classes in my WEB-INF/lib don not
seem to be loaded.
Can anyone help me with this? That would
be extremely great.
Thanks a lot,
zwerg


-- 
----------------------------------------------------------------------

 Dirk
Brockmann                              
Office: +49 551 5176 411
 Department Nonlinear
Dynamics                Home  : +49
551   48 128
 Max-Planck-Institut
fuer                     Cell  : +49 179
2157 180

Stroemungsforschung                         
Fax   : +49 551 5176 409
 Goettingen            
                                            

http://www.chaos.gwdg.de                         
zwerg@chaos.gwdg.de
                                                  
zwerg@bookmarxx.com

----------------------------------------------------------------------