亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

出錯,但他提示的地方沒有錯,不明白錯那了

HTTP Status 500 -

type Exception report

message

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: 1 in the generated java file
The type entity.Items cannot be resolved. It is indirectly referenced from required .class files

An error occurred at line: 7 in the generated java file
Only a type can be imported. entity.Items resolves to a package

An error occurred at line: 47 in the jsp file: /index.jsp
Items cannot be resolved to a type
44:
45: <%
46: ItemsDAO itemsDao = new ItemsDAO();
47: ArrayList<Items> list = itemsDao.getAllItems();
48: for(int i = 0; i<list.size();i++){
49: %>
50: <center>


An error occurred at line: 56 in the jsp file: /index.jsp
Items cannot be resolved to a type
53: <td>
54: <!-- 鍟嗗搧寰幆寮? -->
55: <%
56: Items item = list.get(i);
57: %>
58: <div>
59: <dl>


Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

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


正在回答

1 回答

復制:?

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:?

尋求度娘 ;說的很清楚,祝你能解決問題

0 回復 有任何疑惑可以回復我~
#1

qq_lzY 提問者

一點點往回找,發現是字母打錯了= =,所以匹配不到,找不到方法
2016-11-16 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

出錯,但他提示的地方沒有錯,不明白錯那了

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號