JSP Compile errors in WL8.1 and Tomcat 5.0.19
Brought to you by:
silver_ghost
Both Weblogic 8.1 and Tomcat 5.0.19
give JSP compile errors when trying to use the sortData
and
userMenu beans.
(opensource.isitechinc.nsbbs.MenuModel and
opensource.isitechinc.nsbbs.CatSortModel).
It appears to be an issue with the JSPs being in a
different package
scope than the beans themselves. See the attached
error from the Tomcat
log.
Tomcat Errorlog Snippet of JSP compile error
Logged In: YES
user_id=1131276
I have found that there is also an excpetion being thrown
inside of Tomcat which is:
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
This could be a cause of the other error due to it being
thrown well over 15 times on just the loading of index.jsp.
This is the form the error that I get:
2004-10-01 00:02:38 StandardWrapperValve[jsp]:
Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /login.jsp(7,0) The value
for the useBean class attribute
opensource.isitechinc.nsbbs.MenuModel is invalid.
Logged In: YES
user_id=1129001
This error can be fixed by making of the default constructor
public for all invalid beans reported by the JSP compiler
Logged In: YES
user_id=659988
thanks for the hint with making the default constructor public.
.... finally it started ;)