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

Description Resource Path Location Type The superclass

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

Description Resource Path Location Type The superclass


Description Resource Path Location Type The superclass

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

Description Resource Path Location Type The superclass

异常解决了

Description Resource Path Location Type The superclass

你可能感兴趣的:(异常处理)