tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amos Shapira <amos.shap...@webcollage.com>
Subject RE: Class Loadting in WEB-INF/lib not working?
Date Sun, 16 Jul 2000 11:51:31 GMT
Maybe it's something to do with a propare Manifest file?

> -----Original Message-----
> From: Jim Rudnicki [mailto:jdr5list@pacbell.net]
> Sent: Sunday, July 16, 2000 9:46 AM
> To: tomcat-user@jakarta.apache.org
> Cc: michael@e-acumen.com
> Subject: Re: Class Loadting in WEB-INF/lib not working?
> 
> 
> 
> > However, one of the pages uses a SettingsData class.  When 
> I access that
> > page, I get a NoCLassDefFound exception for
> > com/eacumen/acupower/setting/SettingsData.
> 
> > [...snip...]
> 
> > Perplexed, I finally tried just un-jarring the .jar files into
> > WEB-INF/classes.  Guess what?  it worked...
> 
> I have had this problem and solved it, but you won't like how:
> Unjar xyz.jar to scratch directory.  Rejar the whole thing 
> using sun's jdk
> jar.  Place the new xyz.jar to WEB-INF/lib.
> 
> It may work now.  It did for me. I told you that you wouldn't 
> like it--not
> all jar's are the same.
> 
> Jim
> 
> 

Mime
View raw message