HTTP状态 500 - 内部服务器错误


类型 异常报告

消息 无法为JSP编译类:

描述 服务器遇到一个意外的情况,阻止它完成请求。

例外情况

org.apache.jasper.JasperException: 无法为JSP编译类: 

JSP文件:[/mytiku.jsp] 的第 [136] 行发生了一个错误
The method ListOptionForKemu(HttpServletRequest, String) in the type RuanKao_Web is not applicable for the arguments (String)
133: 															&nbsp;&nbsp;</span>
134: 															<select name="other" id="other" onchange="PageKemuForMyTiKu(this.value);"  >												
135: 															<%
136: 															out.print(RuanKao_Web.ListOptionForKemu(String.valueOf(kemu_id)));
137: 															%>	
138: 															</select>
139: 															&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><br>&nbsp;&nbsp;&nbsp;


JSP文件:[/mytiku.jsp] 的第 [143] 行发生了一个错误
The method getMyTikuPermissionsForUserKemu(int, int) is undefined for the type RuanKao_Web
140: 															<%
141: 															workBean tkbean = new workBean();
142: 															if(kemu_opened == 1){//宸插紑閫�
143: 																tkbean = RuanKao_Web.getMyTikuPermissionsForUserKemu(user_id,kemu_id);//棰樺簱浣跨敤鏃堕棿鎯呭喌
144: 															%>
145: 															鐘舵�侊細&nbsp;&nbsp;&nbsp;&nbsp;宸插紑閫�&nbsp;&nbsp;&nbsp;&nbsp;浣跨敤鏃堕棿锛�<%=tkbean.getStartDateTime().substring(0,10)%>&nbsp;鑷�&nbsp;<%=tkbean.getEndDateTime().substring(0,10)%>
146: 															<%


JSP文件:[/mytiku.jsp] 的第 [167] 行发生了一个错误
The method getKemuDetail(HttpServletRequest, int) in the type RuanKao_Web is not applicable for the arguments (int)
164: <br>
165: <%
166: //澶囪�冪鐩殑鎯呭喌
167: workBean kemubean = RuanKao_Web.getKemuDetail(kemu_id);
168: if(kemubean.getZxztk() == 1){//濡傛灉杩欎釜绉戠洰 鏈夐搴撳姛鑳�
169: %>									
170: 									<table width="100%"   border="0" align="center" cellpadding="0" cellspacing="0">	


Stacktrace:
	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:212)
	org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:560)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:381)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:597)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

):注意 主要问题的全部 stack 信息可以在 server logs 里查看


Apache Tomcat/8.5.56