org.apache.jasper.JasperException: Unable to compile class for JSP: Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError (DefaultErrorHandler.java:85) at org.apache.jasper.compiler.ErrorDispatcher.javacError (ErrorDispatcher.java:330) at org.apache.jasper.compiler.JDTCompiler.generateClass (JDTCompiler.java:435)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by osgi_spring, 1 year ago
Unable to compile class for JSP: Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError (DefaultErrorHandler.java:85) at org.apache.jasper.compiler.ErrorDispatcher.javacError (ErrorDispatcher.java:330) at org.apache.jasper.compiler.JDTCompiler.generateClass (JDTCompiler.java:435)
via Google Groups by Unknown author, 1 year ago
HttpServletRequest Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError( DefaultErrorHandler.java:103) at org.apache.jasper.compiler.ErrorDispatcher.javacError( ErrorDispatcher.java:199) at org.apache.jasper.compiler.JDTCompiler.generateClass( JDTCompiler.java:450)
via Coderanch by Auttapol Pipatpatama, 1 year ago
Unable to compile class for JSP D:\workspace\.metadata\.plugins\com.ibm.etools.server.core\tmp0\cache\localhost\server1\IngeniumEar\Test.war\jsp\_Test.java:3: '.' expected import MTHelper; ^ An error occurred between lines: 9 and 12
via Oracle Community by 807567, 6 months ago
Unable to compile class for JSP/local/iplanet/https-hdesk-1/config/../ClassCache/_jsps/_otro_jsp.java:60: Class _jsps.UserData not found. UserData user = null; ^ /local/iplanet/https-hdesk-1/config/../ClassCache/_jsps/_otro_jsp.java:63: Class
via Oracle Community by 807581, 6 months ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. /usr/iplanet/servers/https-ULCMBIPTDMZ04/config/../ClassCache/_jsps/_FlightSchedule/_jsp/_test_jsp.java:15: Class com.sla.fs.scheduleCreator not found in import. import com.sla.fs.scheduleCreator; ^ 1 error, 1 warning
via Oracle Community by 807567, 6 months ago
Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. /usr/iplanet/servers/https-ozweb1-443/config/../ClassCache/_jsps/_purchase/_corporate/_sales_jsp.java:63: Class pin.CreateCustomer not found. 6 errors, 1 warning
org.apache.jasper.JasperException: Unable to compile class for JSP: Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError (DefaultErrorHandler.java:85) at org.apache.jasper.compiler.ErrorDispatcher.javacError (ErrorDispatcher.java:330) at org.apache.jasper.compiler.JDTCompiler.generateClass (JDTCompiler.java:435)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.