使用maven创建项目时报错The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

Description Resource Path Location Type

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path index.jsp /ssm-crud/WebRoot line 1 JSP Problem

解决办法如下所示:

使用maven创建项目时报错The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

在add Library时,没有server runtime,就是用MyEclipse server library

使用maven创建项目时报错The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

然后next->ok。错误就没有了。

上一篇:Web安全大揭秘


下一篇:eclipse中web工程新建jsp文件报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path