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

Posted 我们的问题主要是读书不多而想得太多

tags:

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

解决方案:

主要原因是,Javaweb工程类中没有添加Tomcat运行时相关类导致。我因为Eclipse是新安装的,没有Tomcat插件,配置了Tomcat后,问题解决。下面是我此次解决问题的经过:

1、根据文档检查发现并没有安装Tomcat,然后准备在Eclipse中安装Tomcat.

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

 

2、Eclipse中集成Tomcat,安装好以后,在菜单栏依旧没有猫咪。于是又准备去进行第三步,安装Tomcat插件。

http://www.cnblogs.com/leiOOlei/p/3372258.html

 

3、Eclipse中Tomcat插件集成到工具栏

http://james23dier.iteye.com/blog/612358

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

index.jsp报错The superclass "javax.servlet.http.HttpServlet" was not found on the Java Bui

JavaWeb:报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Buil

JavaWeb: 报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Bui

JavaWeb: 报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Bui

JavaWeb:报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Buil

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