关于eclipse项目The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path的问题
这个问题很明显是因为缺少类库的支持。可能出现的场景是缺少运行环境,比如tomcat
解决方式:
1:右击项目 点击Build Path ->configure Build Path ...
2:在Libraries 选择Add Library添加库->选择Server Runtime
3:选择apache tomcat 点击Finish
完成导入 OK