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

来源:互联网 发布:golang.org上不去 编辑:程序博客网 时间:2024/04/30 13:05

在Eclipse中导入Maven Web Project后所有的都没有问题,唯独jsp文件一直报错:The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path,最后找到的解决办法如下:

这里写图片描述

在Runtime 选项卡,勾上你所配置的Tomcat,点击OK,错误就不见啦!

参考资料:
http://stackoverflow.com/questions/22756153/the-superclass-javax-servlet-http-httpservlet-was-not-found-on-the-java-build

0 1