eclipse提示:"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
解决步骤:
1、右键项目-build path
2、选择configure build path...
3、选择 java build path
4、Add Library –> server Runtime -> Click Next
5、选择 Server runtime (我的是 Tomcat 7.0) –>完成
————————————————
版权声明:本文为CSDN博主「ngc1277」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_38121168/java/article/details/90375332