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

解决方案:

1.检查在eclipse中,有没有配置JDK:

2.检查在eclipse中,tomcat有没有配置好:

3.在导入的jar包上,右键Build Path——Configure Build Path...——在如下图操作

 

我的问题已经解决了:

posted @ 2018-04-06 08:55  江河湖泊  阅读(1709)  评论(0编辑  收藏  举报