Jsp页面报错The superclass "javax.servlet.http.HttpServlet" was not found on the Java
2016-12-18 23:43
375 查看
Eclipse创建jsp后报错
Multiple annotations found at this line:
- 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
是因为缺少servlet-api.jar
右击项目文件,选择Build Path–>Configure Build Path…–>Libraries
如果没有Apache Tomcat,就点击Add Library–>Server Runtime–>Next–>选择Apache–>Finish,刷新项目看看错误是否消失。
如果有Apache Tomcat就点击Add Library…–>User Library–>Next–>User Libraries–>New…–>名字随便写–>ok–>Add External JARs…–>找到你Apache安装路径下的lib目录,选择servlet-api.jar–打开–>ok–>Finish–>ok,
好了,问题解决
转载自:http://blog.csdn.net/wu_wxc/article/details/51836297
Multiple annotations found at this line:
- 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
是因为缺少servlet-api.jar
右击项目文件,选择Build Path–>Configure Build Path…–>Libraries
如果没有Apache Tomcat,就点击Add Library–>Server Runtime–>Next–>选择Apache–>Finish,刷新项目看看错误是否消失。
如果有Apache Tomcat就点击Add Library…–>User Library–>Next–>User Libraries–>New…–>名字随便写–>ok–>Add External JARs…–>找到你Apache安装路径下的lib目录,选择servlet-api.jar–打开–>ok–>Finish–>ok,
好了,问题解决
转载自:http://blog.csdn.net/wu_wxc/article/details/51836297
相关文章推荐
- JSP页面报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- jsp页面开始报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- eclipse中新建jsp页面报错The superclass "javax.servlet.http.HttpServlet" was not found on the Java Bui出错怎么解决
- jsp页面提示“Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path”解决方案
- 新建maven项目后, jsp页面报错,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 Path解决方法
- jsp页面报红,出现The suprclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方案
- Eclipse新建Jsp页面提示 The superclass "javax.servlet.HttpServlet" was not found on the Java Build Path
- Eclipse中jsp页面报The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- 新建MAVEN工程,JSP页面报The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- JSP 页面 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- JSP页面顶端出现错误:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path的问题解决
- 如何解决JSP页面顶端报错 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- JSP报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- JSP报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- JSP报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- eclipse中jsp错误javax.servlet.http.HttpServlet" was not found on the Java Build Path
- 新建JSP无法运行出现错误The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Pat解决办法
- Maven构建WEB项目JSP报The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- 新建jsp报错“The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path”