日期:2014-05-18  浏览次数:20778 次

关于Unable to compile class for JSP的问题,在线求救!
错误如下:org.apache.jasper.JasperException:   Unable   to   compile   class   for   JSP

An   error   occurred   at   line:   11   in   the   jsp   file:   /addcalendar.jsp
Generated   servlet   error:
Syntax   error,   insert   "; "   to   complete   LocalVariableDeclarationStatement

root   cause  

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

弄了一晚上了.不知道怎么弄好.希望各位能给点提示或帮助解决   .谢谢!

------解决方案--------------------
你的jsp第11行出错了,把代码贴出来吧,这样大家能更好的帮且你,
光说很难解决问题
------解决方案--------------------
好象是11行少个分号
------解决方案--------------------
11行左右少个分号。不是10行就是11行
------解决方案--------------------
An error occurred at line: 11 in the jsp file: /addcalendar.jsp
Generated servlet error:
Syntax error, insert "; " to complete LocalVariableDeclarationStatement



我的异常网推荐解决方案:org.apache.jasper.JasperException: Unable to compile class,http://www.aiyiweb.com/j2ee/2308.html