See "Don't use packageless classes and declare all imported classes!"

http://tomcatfaq.sourceforge.net/classnotfound.html

-Tim

Rick Roberts wrote:
I have some beans and support classes in WEB-INF/classes.
Tomcat 3.2 found them OK. I just got Tomcat 4.1 running but having trouble getting my JSP pages to find my beans / servlets in WEB-INF/classes.


In this case, ConnectionBean.class is in WEB-INF/classes/ but I don't know how to tell Tomcat to find it there.

-------
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 2 in the jsp file: /viewResult.jsp

Generated servlet error:
[javac] Compiling 1 source file
[javac] /var/tomcat4/work/Standalone/localhost/sqledit/viewResult_jsp.java:47: cannot resolve symbol
[javac] symbol : class ConnectionBean
[javac] location: class org.apache.jsp.viewResult_jsp
[javac] ConnectionBean conn = null;
[javac] ^
---------


What am I missing?

Thanks,



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to