Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not

创建一个jsp文件后发现报错↓
Multiple annotations found at this line:
- The superclass “javax.servlet.http.HttpServlet” was not found on the Java
Build Path
- The superclass “javax.servlet.http.HttpServlet” was not found on the Java
Build Path
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not

解决方法:
Windows→Preferences→Server→Add…
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not
如果上图没出来,就:Windows→Show View→Servers
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not
Multiple annotations found at this line: - The superclass “javax.servlet.http.HttpServlet“ was not

上一篇:通过继承HttpServlet实现Servlet程序以及Servlet类的继承体系


下一篇:夜神模拟器报错处理:Unable to preventDefault inside passive event listener due to target being treated as pass