永发信息网

JSP错误cannot be resolved

答案:1  悬赏:50  手机版
解决时间 2021-05-03 01:26
  • 提问者网友:自食苦果
  • 2021-05-02 03:55
org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 17 in the jsp file: /showlist.jsp
Generated servlet error:
List cannot be resolved to a type

An error occurred at line: 29 in the jsp file: /showlist.jsp
Generated servlet error:
i cannot be resolved

An error occurred at line: 30 in the jsp file: /showlist.jsp
Generated servlet error:
u cannot be resolved

An error occurred at line: 31 in the jsp file: /showlist.jsp
Generated servlet error:
u cannot be resolved

An error occurred at line: 32 in the jsp file: /showlist.jsp
Generated servlet error:
u cannot be resolved

An error occurred at line: 33 in the jsp file: /showlist.jsp
Generated servlet error:
u cannot be resolved
最佳答案
  • 五星知识达人网友:十年萤火照君眠
  • 2021-05-02 04:03

导入相关的包java.util.*


意思是第showlist.jsp页面的第17行的List类型未知


29.30.31.32.33行的i和u的类型定义有错了

我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯