HTTP Status 500 – Internal Server Error


Type Exception Report

Message Unable to compile class for JSP:

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

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

An error occurred at line: [31] in the jsp file: [/about/rencaizhaopin.jsp]
no cannot be resolved to a variable
28: 		String searchStr = " where website_no='20151022153348858' and channel_node='20151023102413332' and is_show=1 ";
29: 		searchStr +=  " order by pub_date desc,id desc";
30: 		
31: 		no = Common.getFormatStr(rs.getString("no"));
32: 		jobposition = Common.getFormatStr(rs.getString("jobposition"));
33: 		department = Common.getFormatStr(rs.getString("department"));
34: 		require_count = Common.getFormatStr(rs.getString("require_count"));


An error occurred at line: [31] in the jsp file: [/about/rencaizhaopin.jsp]
rs cannot be resolved
28: 		String searchStr = " where website_no='20151022153348858' and channel_node='20151023102413332' and is_show=1 ";
29: 		searchStr +=  " order by pub_date desc,id desc";
30: 		
31: 		no = Common.getFormatStr(rs.getString("no"));
32: 		jobposition = Common.getFormatStr(rs.getString("jobposition"));
33: 		department = Common.getFormatStr(rs.getString("department"));
34: 		require_count = Common.getFormatStr(rs.getString("require_count"));


An error occurred at line: [32] in the jsp file: [/about/rencaizhaopin.jsp]
jobposition cannot be resolved to a variable
29: 		searchStr +=  " order by pub_date desc,id desc";
30: 		
31: 		no = Common.getFormatStr(rs.getString("no"));
32: 		jobposition = Common.getFormatStr(rs.getString("jobposition"));
33: 		department = Common.getFormatStr(rs.getString("department"));
34: 		require_count = Common.getFormatStr(rs.getString("require_count"));
35: 		work_place = Common.getFormatStr(rs.getString("work_place"));


An error occurred at line: [32] in the jsp file: [/about/rencaizhaopin.jsp]
rs cannot be resolved
29: 		searchStr +=  " order by pub_date desc,id desc";
30: 		
31: 		no = Common.getFormatStr(rs.getString("no"));
32: 		jobposition = Common.getFormatStr(rs.getString("jobposition"));
33: 		department = Common.getFormatStr(rs.getString("department"));
34: 		require_count = Common.getFormatStr(rs.getString("require_count"));
35: 		work_place = Common.getFormatStr(rs.getString("work_place"));


An error occurred at line: [33] in the jsp file: [/about/rencaizhaopin.jsp]
department cannot be resolved to a variable
30: 		
31: 		no = Common.getFormatStr(rs.getString("no"));
32: 		jobposition = Common.getFormatStr(rs.getString("jobposition"));
33: 		department = Common.getFormatStr(rs.getString("department"));
34: 		require_count = Common.getFormatStr(rs.getString("require_count"));
35: 		work_place = Common.getFormatStr(rs.getString("work_place"));
36: 		job_respon = Common.getFormatStr(rs.getString("job_respon"));


An error occurred at line: [33] in the jsp file: [/about/rencaizhaopin.jsp]
rs cannot be resolved
30: 		
31: 		no = Common.getFormatStr(rs.getString("no"));
32: 		jobposition = Common.getFormatStr(rs.getString("jobposition"));
33: 		department = Common.getFormatStr(rs.getString("department"));
34: 		require_count = Common.getFormatStr(rs.getString("require_count"));
35: 		work_place = Common.getFormatStr(rs.getString("work_place"));
36: 		job_respon = Common.getFormatStr(rs.getString("job_respon"));


An error occurred at line: [34] in the jsp file: [/about/rencaizhaopin.jsp]
require_count cannot be resolved to a variable
31: 		no = Common.getFormatStr(rs.getString("no"));
32: 		jobposition = Common.getFormatStr(rs.getString("jobposition"));
33: 		department = Common.getFormatStr(rs.getString("department"));
34: 		require_count = Common.getFormatStr(rs.getString("require_count"));
35: 		work_place = Common.getFormatStr(rs.getString("work_place"));
36: 		job_respon = Common.getFormatStr(rs.getString("job_respon"));
37: 		job_describe = Common.getFormatStr(rs.getString("job_describe"));


An error occurred at line: [34] in the jsp file: [/about/rencaizhaopin.jsp]
rs cannot be resolved
31: 		no = Common.getFormatStr(rs.getString("no"));
32: 		jobposition = Common.getFormatStr(rs.getString("jobposition"));
33: 		department = Common.getFormatStr(rs.getString("department"));
34: 		require_count = Common.getFormatStr(rs.getString("require_count"));
35: 		work_place = Common.getFormatStr(rs.getString("work_place"));
36: 		job_respon = Common.getFormatStr(rs.getString("job_respon"));
37: 		job_describe = Common.getFormatStr(rs.getString("job_describe"));


An error occurred at line: [35] in the jsp file: [/about/rencaizhaopin.jsp]
work_place cannot be resolved to a variable
32: 		jobposition = Common.getFormatStr(rs.getString("jobposition"));
33: 		department = Common.getFormatStr(rs.getString("department"));
34: 		require_count = Common.getFormatStr(rs.getString("require_count"));
35: 		work_place = Common.getFormatStr(rs.getString("work_place"));
36: 		job_respon = Common.getFormatStr(rs.getString("job_respon"));
37: 		job_describe = Common.getFormatStr(rs.getString("job_describe"));
38: 		pub_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("pub_date"));


An error occurred at line: [35] in the jsp file: [/about/rencaizhaopin.jsp]
rs cannot be resolved
32: 		jobposition = Common.getFormatStr(rs.getString("jobposition"));
33: 		department = Common.getFormatStr(rs.getString("department"));
34: 		require_count = Common.getFormatStr(rs.getString("require_count"));
35: 		work_place = Common.getFormatStr(rs.getString("work_place"));
36: 		job_respon = Common.getFormatStr(rs.getString("job_respon"));
37: 		job_describe = Common.getFormatStr(rs.getString("job_describe"));
38: 		pub_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("pub_date"));


An error occurred at line: [36] in the jsp file: [/about/rencaizhaopin.jsp]
job_respon cannot be resolved to a variable
33: 		department = Common.getFormatStr(rs.getString("department"));
34: 		require_count = Common.getFormatStr(rs.getString("require_count"));
35: 		work_place = Common.getFormatStr(rs.getString("work_place"));
36: 		job_respon = Common.getFormatStr(rs.getString("job_respon"));
37: 		job_describe = Common.getFormatStr(rs.getString("job_describe"));
38: 		pub_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("pub_date"));
39: 		avail_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("avail_date"));


An error occurred at line: [36] in the jsp file: [/about/rencaizhaopin.jsp]
rs cannot be resolved
33: 		department = Common.getFormatStr(rs.getString("department"));
34: 		require_count = Common.getFormatStr(rs.getString("require_count"));
35: 		work_place = Common.getFormatStr(rs.getString("work_place"));
36: 		job_respon = Common.getFormatStr(rs.getString("job_respon"));
37: 		job_describe = Common.getFormatStr(rs.getString("job_describe"));
38: 		pub_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("pub_date"));
39: 		avail_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("avail_date"));


An error occurred at line: [37] in the jsp file: [/about/rencaizhaopin.jsp]
job_describe cannot be resolved to a variable
34: 		require_count = Common.getFormatStr(rs.getString("require_count"));
35: 		work_place = Common.getFormatStr(rs.getString("work_place"));
36: 		job_respon = Common.getFormatStr(rs.getString("job_respon"));
37: 		job_describe = Common.getFormatStr(rs.getString("job_describe"));
38: 		pub_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("pub_date"));
39: 		avail_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("avail_date"));
40: 


An error occurred at line: [37] in the jsp file: [/about/rencaizhaopin.jsp]
rs cannot be resolved
34: 		require_count = Common.getFormatStr(rs.getString("require_count"));
35: 		work_place = Common.getFormatStr(rs.getString("work_place"));
36: 		job_respon = Common.getFormatStr(rs.getString("job_respon"));
37: 		job_describe = Common.getFormatStr(rs.getString("job_describe"));
38: 		pub_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("pub_date"));
39: 		avail_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("avail_date"));
40: 


An error occurred at line: [38] in the jsp file: [/about/rencaizhaopin.jsp]
pub_date cannot be resolved to a variable
35: 		work_place = Common.getFormatStr(rs.getString("work_place"));
36: 		job_respon = Common.getFormatStr(rs.getString("job_respon"));
37: 		job_describe = Common.getFormatStr(rs.getString("job_describe"));
38: 		pub_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("pub_date"));
39: 		avail_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("avail_date"));
40: 
41: 		String query = "select id,no,jobposition,department,require_count,work_place,job_respon,job_describe,pub_date,avail_date from jrcms_jobposition" + searchStr;


An error occurred at line: [38] in the jsp file: [/about/rencaizhaopin.jsp]
rs cannot be resolved
35: 		work_place = Common.getFormatStr(rs.getString("work_place"));
36: 		job_respon = Common.getFormatStr(rs.getString("job_respon"));
37: 		job_describe = Common.getFormatStr(rs.getString("job_describe"));
38: 		pub_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("pub_date"));
39: 		avail_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("avail_date"));
40: 
41: 		String query = "select id,no,jobposition,department,require_count,work_place,job_respon,job_describe,pub_date,avail_date from jrcms_jobposition" + searchStr;


An error occurred at line: [39] in the jsp file: [/about/rencaizhaopin.jsp]
avail_date cannot be resolved to a variable
36: 		job_respon = Common.getFormatStr(rs.getString("job_respon"));
37: 		job_describe = Common.getFormatStr(rs.getString("job_describe"));
38: 		pub_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("pub_date"));
39: 		avail_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("avail_date"));
40: 
41: 		String query = "select id,no,jobposition,department,require_count,work_place,job_respon,job_describe,pub_date,avail_date from jrcms_jobposition" + searchStr;
42: 		ResultSet rs = pagination.getQueryResult(query, request, conn);


An error occurred at line: [39] in the jsp file: [/about/rencaizhaopin.jsp]
rs cannot be resolved
36: 		job_respon = Common.getFormatStr(rs.getString("job_respon"));
37: 		job_describe = Common.getFormatStr(rs.getString("job_describe"));
38: 		pub_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("pub_date"));
39: 		avail_date=Common.getFormatDate("yyyy-MM-dd",rs.getDate("avail_date"));
40: 
41: 		String query = "select id,no,jobposition,department,require_count,work_place,job_respon,job_describe,pub_date,avail_date from jrcms_jobposition" + searchStr;
42: 		ResultSet rs = pagination.getQueryResult(query, request, conn);


Stacktrace:
	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:392)
	org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:594)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:400)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:660)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:400)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.jerehnet.tomcat.filter.SecurityFilter.doFilter(SecurityFilter.java:26)
	org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
	jerehnet.jsp.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:34)

Note The full stack trace of the root cause is available in the server logs.


Apache Tomcat/7.0.104