DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38232>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38232 Summary: error for compiler Product: Tomcat 5 Version: 5.5.12 Platform: Other OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P2 Component: Jasper AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] i am facing the problem when i convert the tomcat 3 to tomcat 5.5.12 -------------------------------------------------------------------------- HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: /admin/membership/portalogin.jsp(12,0) The value for the useBean class attribute custom.membership.CPAHandler is invalid. org.apache.jasper.compiler.DefaultErrorHandler.jsp Error (DefaultErrorHandler.java:39) org.apache.jasper.compiler.ErrorDispatcher.dispatc h(ErrorDispatcher.java:405) org.apache.jasper.compiler.ErrorDispatcher.jspErro r(ErrorDispatcher.java:146) org.apache.jasper.compiler.Generator$GenerateVisit or.visit(Generator.java:1223) org.apache.jasper.compiler.Node$UseBean.accept(Nod e.java:1116) org.apache.jasper.compiler.Node$Nodes.visit(Node.j ava:2163) org.apache.jasper.compiler.Node$Visitor.visitBody( Node.java:2213) org.apache.jasper.compiler.Node$Visitor.visit(Node .java:2219) org.apache.jasper.compiler.Node$Root.accept(Node.j ava:456) org.apache.jasper.compiler.Node$Nodes.visit(Node.j ava:2163) org.apache.jasper.compiler.Generator.generate(Gene rator.java:3284) org.apache.jasper.compiler.Compiler.generateJava(C ompiler.java:189) org.apache.jasper.compiler.Compiler.compile(Compil er.java:286) org.apache.jasper.compiler.Compiler.compile(Compil er.java:267) org.apache.jasper.compiler.Compiler.compile(Compil er.java:255) org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:563) org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:293) org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet .java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.12 logs --------------------------------------------------------------------- i searching the similar problem from other and make the correction, change the <jsp:useBean id="PABean" class="custom.membership.CPAHandler" scope="session" /> to <jsp:useBean id="PABean" scope="session" beanName="custom.membership.CPAHandler" type="custom.membership$CPAHandler" /> the above prolem is solve but come out with this error: HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: Only a type can be imported. custom.membership.CPAHandler resolves to a package Generated servlet error: Only a type can be imported. custom.membership.CAuthentication resolves to a package Generated servlet error: Only a type can be imported. custom.membership.CPortalAdmin resolves to a package Generated servlet error: Only a type can be imported. custom.membership.CMemberActLog resolves to a package Generated servlet error: Only a type can be imported. custom.property.CLogsProperty resolves to a package Generated servlet error: Only a type can be imported. custom.property.CSystemProperty resolves to a package Generated servlet error: Only a type can be imported. custom.property.CDBProperty resolves to a package Generated servlet error: Only a type can be imported. mpsb.connection.DBConnection resolves to a package Generated servlet error: Only a type can be imported. mpsb.utilities.Logger resolves to a package Generated servlet error: The import java.beans.Beans.instantiate cannot be resolved An error occurred at line: 14 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: custom.membership$CPAHandler cannot be resolved to a type An error occurred at line: 14 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: custom.membership$CPAHandler cannot be resolved to a type An error occurred at line: 14 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: custom.membership$CPAHandler cannot be resolved to a type An error occurred at line: 38 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: DBConnection cannot be resolved An error occurred at line: 38 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: CDBProperty.MEMBERSHIP cannot be resolved to a type An error occurred at line: 38 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: CPortalAdmin cannot be resolved An error occurred at line: 38 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: CAuthentication cannot be resolved An error occurred at line: 38 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: CSystemProperty.ROOTURLADMIN cannot be resolved to a type An error occurred at line: 38 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: CPortalAdmin cannot be resolved An error occurred at line: 38 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: CMemberActLog cannot be resolved An error occurred at line: 38 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: CSystemProperty.ROOTSSLADMIN cannot be resolved to a type An error occurred at line: 38 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: CSystemProperty.ROOTURLADMIN cannot be resolved to a type An error occurred at line: 38 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: CSystemProperty.PORTALNAME cannot be resolved to a type An error occurred at line: 197 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: Logger cannot be resolved An error occurred at line: 197 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: CLogsProperty.ADMINMEMBERSHIPLOG cannot be resolved to a type An error occurred at line: 215 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: DBConnection cannot be resolved An error occurred at line: 215 in the jsp file: /admin/membership/portalogin.jsp Generated servlet error: CDBProperty.MEMBERSHIP cannot be resolved to a type org.apache.jasper.compiler.DefaultErrorHandler.javacError (DefaultErrorHandler.java:84) org.apache.jasper.compiler.ErrorDispatcher.javacError (ErrorDispatcher.java:328) org.apache.jasper.compiler.JDTCompiler.generateClass (JDTCompiler.java:409) org.apache.jasper.compiler.Compiler.compile(Compiler.java:288) org.apache.jasper.compiler.Compiler.compile(Compiler.java:267) org.apache.jasper.compiler.Compiler.compile(Compiler.java:255) org.apache.jasper.JspCompilationContext.compile (JspCompilationContext.java:563) org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:293) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.12 logs. pls help me to solve the error.. thanks -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]