this seems stupid but did u restart the server!...
also you do have the servlets defined in
web.xml..right?

I use 4.0 b-5, and I haven't come across this problem,

My servlets and Beans are in separate jar files under
WEB-INF/lib, which also contains other jars need,
Ihave never touched the classpath setup by Tomcat, and
it orks just fine....

Can I have a peek at the logs?


--- Will England <[EMAIL PROTECTED]> wrote:
> On Wed, 18 Jul 2001, Aditya Anand wrote:
> 
> > > However, every time I hit a JSP page, it gives a
> 500
> > > error about how it
> > > cannot find classes to compile.  Those classes
> are
> > > located in the WEB-INF
> > > directory, under the /classes folder.  
> > 
> > I assume these are your bean classes. These should
> be
> > put under the WEB-INF/lib directory rather than
> the
> > classes directory. The classes directory is ment
> only
> > for un-jarred servlet classes that have been
> declared
> > in the web.xml file.
> 
> Actually, just to make things interesting, those
> *are* servlet
> classes.  We have both servlets and JSP's that use
> library classes for
> various things.  Currently, they live in
> WEB-INF/classes.  One of these
> years we'll get things sorted out a bit better.
> 
> > Put any servlet jars, beans, and required
> > non-statndard libraries under the lib folder (like
> > log4J, or xalan)
> 
> Ok, so I created a jar file with the servlet classes
> and library classes
> in it and moved it to WEB-INF/lib.
> 
> Didn't work.
> 
> I cannot put this .jar file in TOMCAT_HOME/lib --
> each context / virtual
> host will have slightly different bits in the
> servlets.
> 
> Will
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Reply via email to