我在tomcat 7中使用Web应用程序时遇到问题。
我尝试如下配置tomcat(在$ CATALINA_HOME / conf / web.xml中),无济于事。
<init-param>
<param-name>mappedfile</param-name>
<param-value>false</param-value>
</init-param>
错误详情
Dec 19, 2014 7:45:44 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [myapp] in context with path [/myapp] threw
exception [Unable to compile class for JSP:
Stacktrace:] with root cause
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: [135] in the generated java file: [/opt/apache-tomcat-7.0.57/work/Catalina/localhost/myapp/org/apache/jsp/WEB_002dINF/jsp/myaccount/myapp_jsp.java]
The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
可能是什么问题?