jsp页面报错: The superclass "javax.servlet.http.HttpServlet" was not found on the Java
现象:
项目的jsp页面报错
Multiple annotations found at this line:
- The superclass “javax.servlet.http.HttpServlet” was not found on the Java
Build Path
- Line breakpoint:install.jsp [line: 1]
方法:
1、右键项目-build path、
2、选择configure build path…
3、选择 Java build path
4、Add Library –> server Runtime -> Click Next
5、选择 Server runtime 点击 完成
6、完成之后libraries显示服务7、错误消失
还没有评论,来说两句吧...