Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
org.apache.jasper.JasperException: Unable to compile class for JSP

org.apache.jasper.JasperException: Unable to compile class for JSP

2006-05-17       - By Nick Agianniotis

 Back
Reply:     1     2     3     4     5     6     7  

Hi all!
I used to work with Tomcat 3.3 but recently I decided to change to Tomcat
5.5
Unfortunately it appears that I cannot run most of my .jsp files on this
version of the server because I encouter this problem:
When the server tries to compile the jsp`s, it shows me an error with this
stack trace :

"
SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException Source code of org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
The method handlePageException(Exception) in the type PageContext is not
applicable for the arguments (Throwable)


   at org.apache.jasper.compiler.DefaultErrorHandler Source code of org.apache.jasper.compiler.DefaultErrorHandler(
DefaultErrorHandler.java:84)
   at org.apache.jasper.compiler.ErrorDispatcher Source code of org.apache.jasper.compiler.ErrorDispatcher(
ErrorDispatcher.java:328)
   at org.apache.jasper.compiler.JDTCompiler Source code of org.apache.jasper.compiler.JDTCompiler(JDTCompiler.java
:414)
   at org.apache.jasper.compiler.Compiler Source code of org.apache.jasper.compiler.Compiler(Compiler.java:297)
   at org.apache.jasper.compiler.Compiler Source code of org.apache.jasper.compiler.Compiler(Compiler.java:276)
   at org.apache.jasper.compiler.Compiler Source code of org.apache.jasper.compiler.Compiler(Compiler.java:264)
   at org.apache.jasper.JspCompilationContext Source code of org.apache.jasper.JspCompilationContext(
JspCompilationContext.java:563)
   at org.apache.jasper.servlet.JspServletWrapper Source code of org.apache.jasper.servlet.JspServletWrapper(
JspServletWrapper.java:303)
   at org.apache.jasper.servlet.JspServlet Source code of org.apache.jasper.servlet.JspServlet(JspServlet.java
:314)
   at org.apache.jasper.servlet.JspServlet Source code of org.apache.jasper.servlet.JspServlet(JspServlet.java:264)
   at javax.servlet.http.HttpServlet Source code of javax.servlet.http.HttpServlet(HttpServlet.java)
   at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain(
ApplicationFilterChain.java:252)
   at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain(
ApplicationFilterChain.java:173)
   at org.apache.catalina.core.StandardWrapperValve Source code of org.apache.catalina.core.StandardWrapperValve(
StandardWrapperValve.java:213)
   at org.apache.catalina.core.StandardContextValve Source code of org.apache.catalina.core.StandardContextValve(
StandardContextValve.java:178)
   at org.apache.catalina.core.StandardHostValve Source code of org.apache.catalina.core.StandardHostValve(
StandardHostValve.java:126)
   at org.apache.catalina.valves.ErrorReportValve Source code of org.apache.catalina.valves.ErrorReportValve(
ErrorReportValve.java:105)
   at org.apache.catalina.core.StandardEngineValve Source code of org.apache.catalina.core.StandardEngineValve(
StandardEngineValve.java:107)
   at org.apache.catalina.connector.CoyoteAdapter Source code of org.apache.catalina.connector.CoyoteAdapter(
CoyoteAdapter.java:148)
   at org.apache.coyote.http11.Http11Processor Source code of org.apache.coyote.http11.Http11Processor(Http11Processor.java
:869)
   at
org.apache.coyote.http11.Http11BaseProtocol Source code of org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler
.processConnection
(Http11BaseProtocol.java:664)
   at org.apache.tomcat.util.net.PoolTcpEndpoint Source code of org.apache.tomcat.util.net.PoolTcpEndpoint(
PoolTcpEndpoint.java:527)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread Source code of org.apache.tomcat.util.net.LeaderFollowerWorkerThread(
LeaderFollowerWorkerThread.java:80)
   at org.apache.tomcat.util.threads.ThreadPool Source code of org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
   at java.lang.Thread Source code of java.lang.Thread(Thread.java:595)


"
However, when I convert the same files to applets, this problem doesn`t
exist anymore.

I use Java 1.5 and my OS is Windows XP

Does anybody have any idea of what might that mean?

Thanx in advance!
--
Nick Agianniotis