Eclipse惊现The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path解决方法
·

原因tomcat设置问题
1、下载tomcat官网
2、解压缩,放到指定文件夹(防止误删)
3、Windows->Preferences->Runtime Environments->Add->Apache->Apache tomcat 指定版本->Next->第2步tomcat的位置->finish->Apply and close




3、选中项目名,右键Build Path->Configure Build Path->Add Library…->Server Runtime->第3步的代名->finish->apply and close,问题解决




更多推荐
所有评论(0)