码迷,mamicode.com
首页 > Web开发 > 详细

JSP无端报错处理

时间:2018-10-23 20:50:44      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:attribute   header   edit   doc   tis   lin   ota   Fix   can   

jsp页面老提示Multiple annotations found at this line: - javax.servlet.jsp.JspException cannot be resolve

错误信息如下:
 
Multiple annotations found at this line:
- javax.servlet.jsp.JspException cannot be resolved to a type
- Attribute (width) is obsolete. Its use is discouraged in HTML5 
 documents.

- javax.servlet.jsp.JspException cannot be resolved to a type

解决步骤:

1、右键项目-build path

2、选择configure build path...

3、选择 java build path

4、Add Library –> server Runtime -> Click Next

5、选择  Server runtime (Tomcat 8.0不一定选这个哦) –>完成

JSP无端报错处理

标签:attribute   header   edit   doc   tis   lin   ota   Fix   can   

原文地址:https://www.cnblogs.com/yidisi-tt/p/9838126.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!