Sorry for the imprecision...
I do have these folders:
%TOMCAT_HOME%/webapps/my_web_app/WEB-INF/classes
%TOMCAT_HOME%/webapps/my_web_app/WEB-INF/lib

If I put a jar in lib, it doesn't load the class.
If I extract the jar in classes everything works.

The problem baffles me...
I'll be getting a new Dimension in a couple days, so hopefully
after I install and configure everything again, I won't run into
the same problem...
I'd just like to understand what would cause this problem.

-----Original Message-----
From: Maxim Patramanskij [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 9:58 AM
To: [EMAIL PROTECTED]
Subject: Re: class loading


Hello Yedil,

The below should be working properly:

 %TOMCAT_HOME%/webapps/your_web_app/WEB-INF/classes
 %TOMCAT_HOME%/webapps/your_web_app/WEB-INF/lib


Your example:

YW> %TOMCAT_HOME%/webapp/WEB-INF/classes

seems to me not correct.

Regards,
Max

YW> I'm using tomcat 3.2.2.
YW> Class loading isn't working properly for me.

YW> if I put my classes in:
YW> %TOMCAT_HOME%/webapp/WEB-INF/classes

YW> things work

YW> if I put a jar file of the same classes in:
YW> %TOMCAT_HOME%/webapp/WEB-INF/lib

YW> I get this error on startup of the servlet:
YW> cannot load servlet name: ### :  com.###.###.###

YW> There is probably something I'm forgetting to configure...

YW>
___________________________________________________________________________
YW> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
YW> of the message "signoff SERVLET-INTEREST".

YW> Archives: http://archives.java.sun.com/archives/servlet-interest.html
YW> Resources: http://java.sun.com/products/servlet/external-resources.html
YW> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html



--
Best regards,
 Maxim                            mailto:[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to