Thursday, October 27, 2011

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

I got this error while working with a complex file  in JBOSS.

If you get below mentioned error, As the compiler suggesting there is some brace mismatch. Just go around and check again. Make sure you close all braces correctly.

09:09:25,282 ERROR [ContainerBase] Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 822 in the generated java file
Syntax error, insert "else Statement" to complete IfStatement

An error occurred at line: 822 in the generated java file
Syntax error, insert "}" to complete Block

An error occurred at line: 832 in the generated java file
Syntax error on token "}", delete this token

An error occurred at line: 833 in the generated java file
Syntax error, insert "}" to complete ClassBody

No comments:

Post a Comment