Eclipse导入项目后JSP页面出现报红


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 7.0) –>完成


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM