1. 程式人生 > >jsp頁面出現Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" w

jsp頁面出現Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" w

在jsp頁面顯示“Multiple annotations found at this line:
- The superclass "javax.servlet.http.HttpServlet" was not found on the Java 

Build Path”

解決步驟:

1、右擊專案-Properties;

2、點選Targeted Runtimes;

3、選擇 Apache Tomcat vxxx;

4、點選Apply 或者Apply and close。