It's strange cause a have the same situation
and everything working properly in both cases: Tomcat lib folder
and web application lib folder, even it located in other place, then
Tomcat home.

Fresh installation of Tomcat should solve the problem.

Cheers,
Max

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

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

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

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


YW> Hello Yedil,

YW> The below should be working properly:

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


YW> Your example:

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

YW> seems to me not correct.

YW> Regards,
YW> 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> ___________________________________________________________________________
YW>> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
YW> 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



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

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

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

___________________________________________________________________________
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