Eclipse匯入專案後JSP頁面出現報紅

涼涼12發表於2020-08-22

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

相關文章