The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

Posted 明天,你好啊

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path相关的知识,希望对你有一定的参考价值。

Eclipse软件创建Maven项目出现这个错,最后上网搜发现问题,如下操作便可解决问题。

鼠标放在项目上右键选择———》Build Path——》Configure Build Path…,如下图。

弹出如下图框,选中Server Runtime,点击下一步。

点击next如下图。

点击finish,如下图。

完成以上步骤问题解决。

 

以上是关于The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path的主要内容,如果未能解决你的问题,请参考以下文章

java web报错The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build

新建 jsp异常,The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build P

- The superclass "javax.servlet.http.HttpServlet" was not found on the Java

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

java错误:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Bu

[转]The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path