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

原创 2015年07月10日 23:21:59
JSP页面顶端出现“红色”的报错信息:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path。原来Javaweb工程类中没有添加Tomcat运行时相关类导致。
下面是具体的解决方法:
1、右击web工程-》属性或Build Path-》Java Build Path->Libraries-> Add Libray...->Server Runtime -》Tomcat Server
2、切换到Java Build Path界面中的Orader and Export,选择Tomcat。


注意:
按以上方法操作时,若打开Server Runtime后一片空白,需要设置Apache服务器。设置方法为:window->Preferences->Server->Runtime Environment -> add --> 选择Apache的版本后点Next,再填入你apache服务器软件的安装(解压后)地址。
版权声明:本文为博主原创文章,未经博主允许不得转载。 举报

相关文章推荐

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

INF/jsp/management/news line 1 JSP Problem 在出现此错误的项目上单击鼠标右键》Build Path》Configure Build Path ...

【SpringMVC】The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path解决方案

1.配置Tomcat   Eclipse下方的选项卡【Servers】点击【No servers are available.Click this link to create  a new ser...

我是如何成为一名python大咖的?

人生苦短,都说必须python,那么我分享下我是如何从小白成为Python资深开发者的吧。2014年我大学刚毕业..

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

我们在用Eclipse进行Java web开发时,可能会出现这样的错误:The superclass javax.servlet.http.HttpServlet was not found on t...

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

INF/jsp/management/news line 1 JSP Problem 在出现此错误的项目上单击鼠标右键》Build Path》Configure Build Pat...

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

版权声明:本文为转载文章,未经原博主允许不得转载。 http://blog.csdn.net/testcs_dn/article/details/36455669#comments ...

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

SHOP项目中遇到的问题-01

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path表头报错解决

用eclipse做jsp文件,自动创立的文件表头出现这个报错,应该怎么处理? JSP页面顶端出现“红色”的报错信息:The superclass "javax.servlet.http.HttpSe...

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

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path add.jsp /dwz-J...

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

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 右键项目_>properti...

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

遇到错误: The superclass “javax.servlet.http.HttpServlet” was not found on the **Java Build Path 解决方...
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)