tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bedell, Kevin" <KBed...@cmgi.com>
Subject RE: servlet cannot find depending JAR file
Date Tue, 20 Jun 2000 13:31:28 GMT
Simple question -

Are the class paths and import statements that you are using to get the
CLass formatted (and spelled) correctly? 

> -----Original Message-----
> From: H.vanderLinden@MI.UNIMAAS.NL 
> [mailto:H.vanderLinden@MI.UNIMAAS.NL]
> Sent: Tuesday, June 20, 2000 4:52 AM
> To: tomcat-user@jakarta.apache.org
> Subject: RE: servlet cannot find depending JAR file
> 
> 
> Hello Kevin,
> 
> > When you restart Tomcat, it prints out the CLASSPATH it is 
> using - this is
> > afer it has looked at the TOMCAT_HOME/lib directory and 
> appended every
> file
> > in the directory to the classpath.
> 
> I know and that is were I put my saxon.jar.
> 
> > See if your .jar file is on this classpath it displays on 
> startup. Or,
> > redirect output to a file called startup.log and view it 
> after startup. 
> 
> Yes it does. And still the depending servlet returns a
> 'NoClassDefFoundError'.
> 
> > This behavior is controlled by the file tomcat.sh (or tomcat.bat on
> Win32).
> > Evaluate the execution of this startup script and you 
> should be able to
> > isolate the issue.
> 
> Well...no. I haven't got a clue.
> 
> Thanks for thinking along.
> 
> Bye,
> 
> Helma van der Linden
> 
> 
> > -----Original Message-----
> > From: H.vanderLinden@MI.UNIMAAS.NL 
> > [mailto:H.vanderLinden@MI.UNIMAAS.NL]
> > Sent: Monday, June 19, 2000 5:20 AM
> > To: tomcat-user@jakarta.apache.org
> > Subject: RE: servlet cannot find depending JAR file
> > 
> > 
> > Hello Ken,
> > 
> > I (or rather my co-worker) will be testing this. 
> > Somewhere on this list I read that webapp specific jar files 
> > should go into
> > the WEB-INF/lib dir, while
> > global jar files should go into the jakarta-tomcat/lib 
> > directory. Is this
> > true?
> > 
> > If so, why did my SaxonServlet complain he couldn't find this 
> > saxon.jar
> > while it's in jakarta-tomcat/lib in the CLASSPATH? Could 
> that also be
> > because of the examples.war file present?
> 
> --------------------------------------------------------------
> ------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
> 

Mime
View raw message