This discussion is archived
1 Reply Latest reply: Jul 20, 2011 5:00 PM by EJP RSS

Unable to compile class for JSP

876852 Newbie
Currently Being Moderated
Hi im new to jsp. im getting the following error. Is this any mapping error? im not able to resolve it. Any help is deeply appreciated.

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

An error occurred at line: 17 in the jsp file: /jsp/sample_eft.jsp
Generated servlet error:
Invalid character constant

Generated servlet error:
Syntax error on token "catch", Identifier expected

Generated servlet error:
out cannot be resolved

Generated servlet error:
jspxout cannot be resolved

Generated servlet error:
out cannot be resolved

Generated servlet error:
out cannot be resolved

Generated servlet error:
out cannot be resolved

Generated servlet error:
jspxpage_context cannot be resolved

Generated servlet error:
jspxpage_context cannot be resolved

Generated servlet error:
Syntax error on token "finally", { expected

Generated servlet error:
_jspxFactory cannot be resolved

Generated servlet error:
_jspxFactory cannot be resolved

Generated servlet error:
jspxpage_context cannot be resolved


     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points