当前位置: 代码迷 >> Java Web开发 >> 一个烦人关于 Servlet.service() for servlet jsp threw exception的有关问题!呀!
  详细解决方案

一个烦人关于 Servlet.service() for servlet jsp threw exception的有关问题!呀!

热度:149   发布时间:2016-04-17 01:31:08.0
一个烦人关于 Servlet.service() for servlet jsp threw exception的问题!!!急呀!!!!
2008-9-27 8:21:23 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: 11 in the jsp file: /zwreq.jsp
Abc cannot be resolved to a type
8: pZjMpsRequestLogPojo.setRdpwd("sssss");
9: pZjMpsRequestLogPojo.setRemark("sssss");
10: pZjMpsRequestLogPojo.setSign("sssss");
11: Abc abc = new Abc();
12: // String sss = abc.aa("sss");
13: // System.out.println(pZjMpsRequestLogPojo.getSign());
14: // String aa =(String) ZjPayReqManager().request(pZjMpsRequestLogPojo);


An error occurred at line: 11 in the jsp file: /zwreq.jsp
Abc cannot be resolved to a type
8: pZjMpsRequestLogPojo.setRdpwd("sssss");
9: pZjMpsRequestLogPojo.setRemark("sssss");
10: pZjMpsRequestLogPojo.setSign("sssss");
11: Abc abc = new Abc();
12: // String sss = abc.aa("sss");
13: // System.out.println(pZjMpsRequestLogPojo.getSign());
14: // String aa =(String) ZjPayReqManager().request(pZjMpsRequestLogPojo);
这个是abc类
public class Abc {
public String aa(String aa){
String cc = "ssssss";
return cc;

}
}


一new类就出这个错误真的很烦人不知道为什么

------解决方案--------------------

代码迷推荐解决方案:Servlet.service() for servlet default threw exception,http://www.daimami.com/search?q=181756
  相关解决方案