tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "P Y" <py.fou...@gmail.com>
Subject Re: Tomcat 5.0 server encountering error while using jsp
Date Tue, 28 Feb 2006 03:32:03 GMT
The log seems pretty clear :
>>>>>>
root cause
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
<<<<<<




On 2/28/06, k satish <k_satish0101@yahoo.co.in> wrote:
>
>
>      getting the follg error after installing
> tomcat5.0, jre, j2se and ms-access
>
>
> 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
>
> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
>
> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
>
> org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
>
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
>
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
>
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
>
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> root cause
> Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK
>
> org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
>
> org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
>
> org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
>
> org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
>
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
>
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
>
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
>
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> note The full stack trace of the root cause is
> available in the Apache Tomcat/5.0.28 logs.
>
> Apache Tomcat/5.0.28
>
>
> plz help me in this regard
>
>
>
>
>
> ---------------------------------
>  Jiyo cricket on Yahoo! India cricket
> Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message