有哪位大神帮忙解决一下

HTTP Status 500 - Unable to compile class for JSP: 




type Exception report


message Unable to compile class for JSP: 


description The server encountered an internal error that prevented it from fulfilling this request.


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


An error occurred at line: [20] in the generated java file: [D:\cheshi\apache-tomcat-8.5.9\work\Catalina\localhost\helloOradb2\org\apache\jsp\helloOradb\WebRoot\system\workdesk\main_jsp.java]
Only a type can be imported. org.qudaotong.service.impl.GlobalServiceImpl resolves to a package


An error occurred at line: [21] in the generated java file: [D:\cheshi\apache-tomcat-8.5.9\work\Catalina\localhost\helloOradb2\org\apache\jsp\helloOradb\WebRoot\system\workdesk\main_jsp.java]
Only a type can be imported. org.qudaotong.tooutside.webservice.DbServiceImpl resolves to a package


An error occurred at line: [22] in the generated java file: [D:\cheshi\apache-tomcat-8.5.9\work\Catalina\localhost\helloOradb2\org\apache\jsp\helloOradb\WebRoot\system\workdesk\main_jsp.java]
Only a type can be imported. net.sf.json.JSONArray resolves to a package


An error occurred at line: [23] in the generated java file: [D:\cheshi\apache-tomcat-8.5.9\work\Catalina\localhost\helloOradb2\org\apache\jsp\helloOradb\WebRoot\system\workdesk\main_jsp.java]
Only a type can be imported. org.qudaotong.tooutside.webservice.JavaObjectVSJSON resolves to a package


An error occurred at line: 41 in the jsp file: /helloOradb/WebRoot/system/workdesk/main.jsp
GlobalServiceImpl cannot be resolved to a type
38:   String SD="0";//鏄惁閿佸畾
39:   String ZS="0";//鏄惁鏈夎瘉涔�
40:   String BA="0";//鏄惁鏈夊妗�
41:   GlobalServiceImpl bs= (GlobalServiceImpl) org.qudaotong.dao.Global.getInstance().getService("globalServiceImpl");
42:    
43:   //浠庢暟鎹簱閲屾壘鍑烘潵 鏈烘瀯ID锛屾満鏋勫悕绉般�
44:      bs.executeUpdateBySql("update tb_organ_info1 set Hydm='"+ZKHLCode+"' where id ="+accno);




An error occurred at line: 41 in the jsp file: /helloOradb/WebRoot/system/workdesk/main.jsp
GlobalServiceImpl cannot be resolved to a type
38:   String SD="0";//鏄惁閿佸畾
39:   String ZS="0";//鏄惁鏈夎瘉涔�
40:   String BA="0";//鏄惁鏈夊妗�
41:   GlobalServiceImpl bs= (GlobalServiceImpl) org.qudaotong.dao.Global.getInstance().getService("globalServiceImpl");
42:    
43:   //浠庢暟鎹簱閲屾壘鍑烘潵 鏈烘瀯ID锛屾満鏋勫悕绉般�
44:      bs.executeUpdateBySql("update tb_organ_info1 set Hydm='"+ZKHLCode+"' where id ="+accno);




An error occurred at line: 41 in the jsp file: /helloOradb/WebRoot/system/workdesk/main.jsp
org.qudaotong.dao.Global cannot be resolved to a type
38:   String SD="0";//鏄惁閿佸畾
39:   String ZS="0";//鏄惁鏈夎瘉涔�
40:   String BA="0";//鏄惁鏈夊妗�
41:   GlobalServiceImpl bs= (GlobalServiceImpl) org.qudaotong.dao.Global.getInstance().getService("globalServiceImpl");
42:    
43:   //浠庢暟鎹簱閲屾壘鍑烘潵 鏈烘瀯ID锛屾満鏋勫悕绉般�
44:      bs.executeUpdateBySql("update tb_organ_info1 set Hydm='"+ZKHLCode+"' where id ="+accno);




Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:212)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:377)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:600)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:368)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

note The full stack trace of the root cause is available in the Apache Tomcat/8.5.9 logs.


把项目放入tomcat中出现这种错误

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值