Menu

#1 JSP Compile errors in WL8.1 and Tomcat 5.0.19

v1.0_(example)
open
nobody
None
5
2004-08-27
2004-08-27
Anonymous
No

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.

Discussion

  • Nobody/Anonymous

    Tomcat Errorlog Snippet of JSP compile error

     
  • Crazy_Net

    Crazy_Net - 2004-10-01

    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.

     
  • Trinetra Agarwal

    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

     
  • phatsphere

    phatsphere - 2006-02-04

    Logged In: YES
    user_id=659988

    thanks for the hint with making the default constructor public.
    .... finally it started ;)

     

Log in to post a comment.

MongoDB Logo MongoDB