【JSP】创建Dynamic Web Project时报错: The superclass “javax.servlet.http.HttpServlet” was not found。。。。
报错
Multiple annotations found at this line:
- The superclass "javax.servlet.http.HttpServlet" was not found on the Java
Build Path
- Line breakpoint:index.jsp [line: 1]
解决方案
点击项目–>bulid path–>Add Library–>MyEclipse Server Library
具体如下图所示
之后你就会看到报错消失
说明