jsp错误:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

tomcat问题

右键项目->Build Path->Configure Build Path

在 Java Build Path 的Libraries中点击 Add library

 

选择Server Runtime 点击next,选择tomcat(应该只有一个,我之前小心开了两个),点击Finish

 

点击Apply and Close 就好了

 

猜你喜欢

转载自blog.csdn.net/longxueere/article/details/85765793