org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [180] in the generated java file: [/home/bahmni/apache-tomcat-8.0.12/work/Catalina/localhost/openmrs/org/apache/jsp/errorhandler_jsp.java] Syntax error, insert "}" to complete Block Stacktrace:

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via openmrs.org by Unknown author, 1 year ago
Unable to compile class for JSP: An error occurred at line: [180] in the generated java file: [/home/bahmni/apache-tomcat-8.0.12/work/Catalina/localhost/openmrs/org/apache/jsp/errorhandler_jsp.java] Syntax error, insert "}" to complete Block Stacktrace:
via Google Groups by Matt Farnell, 2 years ago
Unable to compile class for JSP: An error occurred at line: 11 in the generated java file org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type And the first part of the stacktrace is: Stacktrace:
via howopensource.com by Unknown author, 1 year ago
Unable to compile class for JSP: An error occurred at line: 1 in the generated java file The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files Stacktrace:
via jboss.org by Unknown author, 1 year ago
Unable to compile class for JSP An error occurred at line: 5 in the jsp file: /Index.jsp Generated servlet error: The method setId(String) in the type UIComponentClassicTagBase is not applicable for the arguments (JspValueExpression) .. .. An error
via Stack Overflow by Lev
, 10 months ago
No se puede compilar la clase para JSP: Ha tenido lugar un error en la línea: [16] en el fichero java generado: [C:\Proyecto\tomcat\apache-tomcat-9.0.0.M15-windows-x64\apache-tomcat-9.0.0.M15\work\Catalina\localhost\Gest1\org\apache\jsp\Test_jsp.java] Only a type can be imported. oracle.jdbc.OracleDriver resolves to a package Stacktrace:
via jboss.org by Unknown author, 1 year ago
Unable to compile class for JSP: An error occurred at line: 22 in the generated java file The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory Stacktrace:
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [180] in the generated java file: [/home/bahmni/apache-tomcat-8.0.12/work/Catalina/localhost/openmrs/org/apache/jsp/errorhandler_jsp.java] Syntax error, insert "}" to complete Block 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:446)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
12 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Write tip

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