一个烦人关于
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.aiyiweb.com/eclipse/181756.html