tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Huaxin <hxzh...@cs.ualberta.ca>
Subject class loaded wrong
Date Fri, 09 Nov 2001 19:27:15 GMT
I am moving my 3.2.3 application to 4.0.1, and it
failed to work

my jsp file uses a bean which is defined under WEB-INF/classes
(without package)

say that class is MyBean.java, the error log shows

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

An error occurred at line: 4 in the jsp file: /process.jsp

Generated servlet error:
D:\henry\jakarta-tomcat-4.0.1\work\localhost\survey\process$jsp.java:61:
Class org.apache.jsp.MyBean not found.


Must I define all classes inside a package?


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message