DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23471>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23471

No Java compiler was found to compile the generated source for the JSP

           Summary: No Java compiler was found to compile the generated
                    source for the JSP
           Product: Tomcat 5
           Version: 5.0.12
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


when java syntax error exists in <%! %>, it generate java source correct but 
report no compiler found and suggest as follow:

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

No Java compiler was found to compile the generated source for the JSP. 
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from 
the JDK 
to the common/lib directory of the Tomcat server, followed by a Tomcat restart. 
If using an alternate Java compiler, please check its installation and access 
path.

        at org.apache.jasper.compiler.DefaultErrorHandler.javacError
(DefaultErrorHandler.java:128)
        at org.apache.jasper.compiler.ErrorDispatcher.javacError
(ErrorDispatcher.java:351)
        at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:413)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:437)
        at org.apache.jasper.JspCompilationContext.compile
(JspCompilationContext.java:555)
        at org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:291)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:301)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to