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