首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

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

2013-09-11 
一个烦人关于 Servlet.service() for servlet jsp threw exception的问题!!!急呀!!!!2008-9-27 8:21:23 or

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

热点排行