关于eclipse出现The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path问题
重新安装eclipse,在配置好tomact和jdk后,新建项目后出现了以上问题,百度之后寻到了以下方法,并且顺利解决了此问题。
1、打开eclipse,点击窗口->首选项->Server->Runtime Environments->Add
(Windows->Preferences->Server->Runtime Environments->Add)
2、选择你的Tomact版本(此处以9.0为例)
3、点击下一步,选择所选版本tomac
原创
2022-05-13 18:56:56 ·
3231 阅读 ·
0 评论