Description Resource Path Location Type The superclass "javax.servlet.http.HttpServlet" was not foun

一段时间没亲自建新项目玩乐,今天建立了一Maven project的时候发现了以下异常,Description Resource Path Location Type

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path index.jsp /easyBuy/src/main/webapp line 1 JSP Problem


经过查找原因,原来是因为忘记设置server runtime environment ,按一下步骤设置即可:




根据自己需要设置对应的server runtime 环境


异常解决了


原文地址:https://www.cnblogs.com/evan-liang/p/9189635.html