| Author |
Tomcat 5.5.23 -The server encountered an internal error () ..
|
venkatesh pendharkar
Ranch Hand
Joined: Apr 29, 2006
Posts: 104
|
|
HI all, I am using Tomcat 5.5.23 & jre 1.5.0. I am able to start the tomcat server properly & am also able to access the tomcat home page using http://localhost:8080 . But when I execute any of the JSP examples which are given on homepage it gives the following error,:- 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/servlet/jsp/el/VariableResolver; org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779) org.apache.jsp.jsp2.el.basic_002darithmetic_jsp._jspService(basic_002darithmetic_jsp.java:73) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:809) root cause java.lang.NoSuchMethodError: javax.servlet.jsp.PageContext.getVariableResolver()Ljavax/servlet/jsp/el/VariableResolver; org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:929) org.apache.jsp.jsp2.el.basic_002darithmetic_jsp._jspService(basic_002darithmetic_jsp.java:44) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:809) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs. someone please help me in this
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
Is this a fresh install? Have you brought in any jar files that might conflict with Tomcat's; either in your app or in the tomcat/common/lib directory? Did you put a j2ee.jar in your JDK's directory anywhere?
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
venkatesh pendharkar
Ranch Hand
Joined: Apr 29, 2006
Posts: 104
|
|
yes this is a fresh install, & from the beginning itself i started getting error. I have following jar files in my lib folder:- commons-el.jar jasper-compiler.jar jasper-compiler-jdt.jar jasper-runtime.jar jsp-api.jar naming-factory.jar naming-factory-dbcp.jar naming-resources.jar servlet-api.jar I first thought servlet.jar file might be missing thats why added it in lib folder but still its giving me the same error
|
 |
 |
|
|
subject: Tomcat 5.5.23 -The server encountered an internal error () ..
|
|
|