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


类型 异常报告

消息 无法为JSP编译类:

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

例外情况

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

JSP文件:[/mytikuandclub_mon.jsp] 的第 [46] 行发生了一个错误
The method getUserClubPermissionsForKemu(HttpServletRequest, int, int) in the type RuanKao_Web is not applicable for the arguments (int, int)
43: if(kemu_id == 0){//褰撴病鏈夌殑鏃跺�欙紝榛樿鏄剧ず澶囪�冪鐩�
44: 	kemu_id = user_study_kemu;
45: }
46: String[] user_club_level = RuanKao_Web.getUserClubPermissionsForKemu(kemu_id,user_id);
47: int kemu_opened = 0;//鏈紑閫� 涓轰簡寮�閫�
48: String tag_text = "";
49: String area_join_ruanfan = "";


JSP文件:[/mytikuandclub_mon.jsp] 的第 [214] 行发生了一个错误
The method ListOptionForKemu(HttpServletRequest, String) in the type RuanKao_Web is not applicable for the arguments (String)
211: 												&nbsp;&nbsp;</span>
212: 												<select name="other" id="other" onchange="PageKemuForMyTiKuMoney(this.value,'<%=page_type%>');"  >												
213: 												<%
214: 												out.print(RuanKao_Web.ListOptionForKemu(String.valueOf(kemu_id)));
215: 												%>	
216: 												</select>
217: 												<br>&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;


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


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