关闭

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

标签: jsptomcatserver
134人阅读 评论(0) 收藏 举报
分类:

在eclipse中新建JSP文件时报:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

如下图:


解决步骤:
1.项目右键选择Build Path--->>ConfigureBuild Path...
2.点击add library...-->>Server RunTime...
3.选中一个已存在的服务器(我用的Tomcat),应用即可。


0
0
查看评论
发表评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场

linux下安装tomcat,启动抛出异常

Jan 06, 2015 1:59:28 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apach...
  • lixld
  • lixld
  • 2015-01-06 15:53
  • 3529

MySQL 最新版本5.6.13源码安装过程

2个月前公司给DBA的测试服务器被收回去了,一直跟开发用一组DB,有些需要测试的小功能,需要不断重启db,为了不影响开发同事,自己又申请了一个虚拟机,准备安装最新的5.6.13版本的MySQL社区版。...
  • mchdba
  • mchdba
  • 2013-08-23 12:06
  • 15107

Android开发笔记(成长轨迹)

1.控制台输出:called unimplemented OpenGL ES API 调用了未实现的OpenGL ES API函数,一般由于导入的第三方库如地图库,里面有用到OpenGL,但是模拟器...
  • mad1989
  • mad1989
  • 2013-06-21 09:44
  • 126191

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

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

【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...
  • celiacy
  • celiacy
  • 2017-03-07 09:28
  • 252

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的解决办法
  • a20101021202
  • a20101021202
  • 2016-06-26 16:47
  • 380

如何解决JSP页面顶端报错 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

题目有点长,昨天刚接触jsp,按照网上的教程安装完 tomcat 和 eclipse EE 之后,新建jsp文件却出现了如下报错: The superclass "javax.servlet.http...
  • u014691453
  • u014691453
  • 2016-08-17 10:33
  • 5835

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 解决方...
  • u010004460
  • u010004460
  • 2016-08-02 19:50
  • 318

创建一个jsp页面报:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

主要是缺少Tomcat运行时相关类导致的,简单的说就是找不到tomcat(服务器),解决方法如下: 1、报错页面: 2、右击所在的项目->Build Path->Configu...
  • wen_yang
  • wen_yang
  • 2017-04-15 23:41
  • 295

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

完整错误信息:THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS"AS IS" AND ANY EXPRESS OR...
  • testcs_dn
  • testcs_dn
  • 2014-07-02 19:57
  • 172028
    个人资料
    • 访问:2424次
    • 积分:79
    • 等级:
    • 排名:千里之外
    • 原创:5篇
    • 转载:1篇
    • 译文:0篇
    • 评论:0条