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
- 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) –>完成
本文介绍了解决在Eclipse中遇到的JSP异常和HTML5中废弃属性警告的具体步骤,通过调整项目的构建路径并正确配置Java库及服务器运行时环境来消除错误。
9061





