| 
| Tomcat eclipse plugin error [message #198021] | Wed, 09 March 2005 02:11 |  | 
| Eclipse User  |  |  |  |  | Originally posted by: stoutoleman.yahoo.com 
 Hello -
 
 I am trying to debug a webapp of mine using eclipse 3.0 and the sysdeo
 plugin. Starting and stopping both work fine, but when i try to go to
 the root page of the webapp i get the below error. I have eclipse
 setup to use the jdk jvm. Per your instructions, I have attached the
 generated config file here. Any help you could offer would be greatly
 appreciated. Note, when I start the server manually, it works, but
 then I cannot debug.
 
 Scott
 
 // LOG FILE
 ------------------------------------------------------------ -------------------------------------------------
 
 -------- Launch Tomcat JVM Start --------
 -> Label : Tomcat 5.x
 -> ClassToLaunch : org.apache.catalina.startup.Bootstrap
 -> Classpath :  | project\classes |  |
 project\webroot\WEB-INF\compile-lib\javax.servlet.jar |  |
 project\webroot\WEB-INF\deploy-lib\commons-beanutils.jar |  |
 project\webroot\WEB-INF\deploy-lib\struts.jar |  |
 project\webroot\WEB-INF\deploy-lib\jai_core.jar |  |
 project\webroot\WEB-INF\deploy-lib\jai_codec.jar |  | C:\Program
 Files\eclipse\plugins\org.junit_3.8.1\junit.jar |  |
 project\webroot\WEB-INF\deploy-lib\mail.jar |  | C:\Program
 Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar |  |
 C:\Program Files\Java\jdk1.5.0_01\lib\tools.jar |
 -> BootClasspath :
 -> Vmargs :  -Dcatalina.home="C:\Program Files\Apache Software
 Foundation\Tomcat 5.0" -Djava.endorsed.dirs="C:\Program Files\Apache
 Software Foundation\Tomcat 5.0\common\endorsed"
 -Dcatalina.base="C:\Program Files\Apache Software Foundation\Tomcat
 5.0" -Djava.io.tmpdir="C:\Program Files\Apache Software
 Foundation\Tomcat 5.0\temp"
 -> PrgArgs :  -config "C:\Program Files\Apache Software
 Foundation\Tomcat 5.0\conf\server.xml" start
 -> Debug : true
 -------- Launch Tomcat JVM End--------
 
 // BEGIN ERROR
 ------------------------------------------------------------ -----------------------------------------
 
 HTTP Status 500 -
 
 type Exception report
 
 message
 
 description The server encountered an internal error () that prevented
 it from fulfilling this request.
 
 exception
 
 javax.servlet.ServletException:
 javax.servlet.jsp.PageContext.getVariableResolver()Ljavax/se rvlet/jsp/el/VariableResolver;
 
 org.apache.jasper.runtime.PageContextImpl.doHandlePageExcept ion(PageContextImpl.java:825)
 
 org.apache.jasper.runtime.PageContextImpl.handlePageExceptio n(PageContextImpl.java:758)
 org.apache.jsp.index_jsp._jspService(index_jsp.java:565)
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:94)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 
 org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:324)
 
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:292)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java :236)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 
 root cause
 
 java.lang.NoSuchMethodError:
 javax.servlet.jsp.PageContext.getVariableResolver()Ljavax/se rvlet/jsp/el/VariableResolver;
 
 org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluat e(PageContextImpl.java:899)
 org.apache.jsp.index_jsp._jspService(index_jsp.java:135)
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:94)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 
 org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:324)
 
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:292)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java :236)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 
 note The full stack trace of the root cause is available in the Apache
 Tomcat/5.0.28 logs.
 Apache Tomcat/5.0.28
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.10962 seconds