
我用MyEclipse出现了这个问题,求大神帮忙改一下
2014-6-417:33:38org.apache.catalina.core.StandardWrapperValveinvoke严重:Servlet.service...
2014-6-4 17:33:38 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 99 in the jsp file: /eWebeditor/jsp/file_manager_json.jsp
JSONObject cannot be resolved to a type
96: } else {
97: Collections.sort(fileList, new NameComparator());
98: }
99: JSONObject result = new JSONObject();
100: result.put("moveup_dir_path", moveupDirPath);
101: result.put("current_dir_path", currentDirPath);
102: result.put("current_url", currentUrl);
An error occurred at line: 99 in the jsp file: /eWebeditor/jsp/file_manager_json.jsp
JSONObject cannot be resolved to a type
96: } else {
97: Collections.sort(fileList, new NameComparator());
98: }
99: JSONObject result = new JSONObject();
100: result.put("moveup_dir_path", moveupDirPath);
101: result.put("current_dir_path", currentDirPath);
102: result.put("current_url", currentUrl); 展开
严重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 99 in the jsp file: /eWebeditor/jsp/file_manager_json.jsp
JSONObject cannot be resolved to a type
96: } else {
97: Collections.sort(fileList, new NameComparator());
98: }
99: JSONObject result = new JSONObject();
100: result.put("moveup_dir_path", moveupDirPath);
101: result.put("current_dir_path", currentDirPath);
102: result.put("current_url", currentUrl);
An error occurred at line: 99 in the jsp file: /eWebeditor/jsp/file_manager_json.jsp
JSONObject cannot be resolved to a type
96: } else {
97: Collections.sort(fileList, new NameComparator());
98: }
99: JSONObject result = new JSONObject();
100: result.put("moveup_dir_path", moveupDirPath);
101: result.put("current_dir_path", currentDirPath);
102: result.put("current_url", currentUrl); 展开
3个回答
展开全部
这个错误很明显是你的file_manager_json.jsp这个jsp文件 返回json对象处问题了,给你的建议是debug下程序看看是否返回的json对象为空或者json格式不正确,祝你好运。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询