1、右键项目名称buildpath
2、选择Libraries->Add Library…
3、选择Server Runntime
4、next下一步,勾选上ApacheTomcat之后finish完成
5、在buildpath中的Order and Export处将新添加的Apache Tomcat勾选上
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
最新推荐文章于 2022-11-18 22:58:52 发布