Eclipse中报错,信息如下The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path

解决方法:      1)检查Eclipse是否关联了tomcat 2)为报错的项目添加tomcat服务器 右键项目--->Build Path--->add Labraries--->Server Runtime--->Apache Tomcat v8.5-->Finish
相关文章
相关标签/搜索