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=36198>. 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=36198 Summary: Class loading/compilation error Product: Tomcat 5 Version: 5.5.9 Platform: PC URL: http://136.142.92.26:8080/gnm/mode_shapes.jsp OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Servlet & JSP API AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] I have encountered an odd error I have been unable to solve. I have reviewed all the Tomcat documentation and searched Bugzilla for a solution but nothing has worked so far. In summary I have created a set of JSPs and Java classes that are used to visualize pre-generated biological data for a research project. These JSPs interact with the Java classes to perform some file IO and other activities. The problem I have encountered is as follows: the JSPs spit out java.lang.NoClassDefFoundError errors when accessed, so I've concluded they cannot 'see' the Java classes I have created for them to use. I have gone through a number of troubleshooting solutions including: Placing the classes in the 'WEB-INF/classes' directory of the web application root where the JSPs are stored, copying the classes to the working dorectory where the JSPs are compiled (both en masse and with the full package structure), and I have tried specifying the CLASSPATH used to compile the JSPs with the web.xml file in the 'WEB-INF' directory of the web application root. None of these have solved the problem. The exact error I'm getting is as follows: javax.servlet.ServletException: Replacer org.apache.jasper.runtime.PageContextImpl.doHandlePageException (PageContextImpl.java:848) org.apache.jasper.runtime.PageContextImpl.handlePageException (PageContextImpl.java:781) org.apache.jsp.mode_005fshape_005fvisual_jsp._jspService (org.apache.jsp.mode_005fshape_005fvisual_jsp:235) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause java.lang.NoClassDefFoundError: Replacer Mode_Shape_Session.<init>(Mode_Shape_Session.java:183) org.apache.jsp.mode_005fshape_005fvisual_jsp._jspService (org.apache.jsp.mode_005fshape_005fvisual_jsp:143) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) To generate the problem go to the URL listed with this bug report and click on the "Go iGNM" button. How do I configure Tomcat to look for my Java classes when compiling JSPs? Or where do I place the compiled classes so the JSP compiler can see them when the JSPs are compiled? This project will result in a article publication in a major scientific journal, and any help you can offer would surely be noted in said article. Thanks, Mark Holliman -- 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]