tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bo Xu ...@cybershop.ca>
Subject Re: ClassNotFoundException when using war file (Tomcat 3.2.3)
Date Wed, 31 Oct 2001 15:52:37 GMT

"WEB-INF" is case sensitive, it can not be "Web-inf" or other...

Bo
Oct.31, 2001


scarcher@its.state.ms.us wrote:

> I'm new to tomcat but shouldn't it bet WEB-INF?
> isn't it case sensitive?
>
> Scott Archer
> scarcher@its.state.ms.us
>
> [...]
> Hi,
>
> I am trying to use a war which has some jar files in it for my web
> application in tomcat 3.2.3. The war file is structured as follows
>
> WarFile.war
>     Web-inf/lib/jarfile1.jar
>     Web-inf/lib/jarfile2.jar
>     Web-inf/lib/jarfile3.jar
>
> When running the application I get ClassNotFoundException for the
> classes in the jar file. Also I noticed that empty directories (that
> follows my package structure) were created under lib directory. E.g. I
> see the following empty directories
>
> %TOMCAT_HOME%/webapps/webapplication/Web-inf/lib/examples/addressbook/.....
>
> A workaround is to place the jar files in the tomcat/lib directory. This
> will result in the the jars to be added to the classpath and everything
> works fine.
>
> I was wondering if anyone knows about a cleaner solution or point out if
> there is something that I need to do to get this working (perhaps
> something in manifest file or web.xml file etc.).
>
> Any help is greatly appreciated.
>
> Thanks,
>
> Abi -
>
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message