You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sri Sankaran <Sr...@sas.com> on 2002/11/15 17:41:40 UTC

[OT]Need magic incantation

I'm being stymied by a classpath issue that occurs both on Tomcat 4.1.12 and JRun 3.1.

I get a ClassNotFoundException while the classpath clearly displays the jar file that contains the "missing" class.  I've even tried -- in desperation -- putting the jar file in Tomcat's bin common/lib and server/lib directories to no avail.

The kicker is that I can successfully run a command-line application  -- that exercises the same business logic -- using the classpath used by Tomcat.

I know it could be any bunch of things -- but do you have any recommendations?

Sri

RE: [OT]Need magic incantation

Posted by Xavier Combelle <xc...@kaptech.com>.
Maybe you should check if the class you are look for is really in the jar 
by using an unzip tool.

> -----Message d'origine-----
> De : Sri Sankaran [mailto:Sri.Sankaran@sas.com]
> Envoye : vendredi 15 novembre 2002 17:42
> A : Struts-User
> Objet : [OT]Need magic incantation
> 
> 
> I'm being stymied by a classpath issue that occurs both on Tomcat 
> 4.1.12 and JRun 3.1.
> 
> I get a ClassNotFoundException while the classpath clearly 
> displays the jar file that contains the "missing" class.  I've 
> even tried -- in desperation -- putting the jar file in Tomcat's 
> bin common/lib and server/lib directories to no avail.
> 
> The kicker is that I can successfully run a command-line 
> application  -- that exercises the same business logic -- using 
> the classpath used by Tomcat.
> 
> I know it could be any bunch of things -- but do you have any 
> recommendations?
> 
> Sri
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>