您的位置:首页 > 理论基础 > 计算机网络

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

2016-05-07 08:27 399 查看
在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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  HttpServle eclipse