tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dinesh Kumar <din...@geotrac.com>
Subject org.apache.jasper.JasperException: Unable to compile class for JS P
Date Thu, 02 Oct 2003 20:41:18 GMT

Hello all,


I created a simple jsp file called First.jsp and its content is



<html>

<title>A JSP Sample</title>

Hello, my first JSP program!

</html>

 

and the URL I used is 

 <http://localhost:8080/examples/jsp/First.jsp>
http://localhost:8080/examples/jsp/First.jsp

I'm  getting the below error. Can someone please help me.

But I'm able to run other JSP files that part of the examples provided
TOMCAT.

Thank you



Dinesh


 




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



An error occurred at line: -1 in the jsp file: null



Generated servlet error:

    [javac] Compiling 1 source file

    [javac] Modern compiler not found - looking for classic compiler







	at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.java:130)

	at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2
93)

	at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)

	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)

	at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
73)

	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
90)

	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)

	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)

	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)

	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)

	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)

	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)

	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)

	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:494)

	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)

	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)

	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)

	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)

	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)

	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)

	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)

	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)

	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)

	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)

	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

	at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)

	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)

	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:392)

	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)

	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619)

	at java.lang.Thread.run(Unknown Source)



  _____  


Apache Tomcat/4.1.27


 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message