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

JAVA学习网 2018-04-07 07:28:05

新建.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...——在如下图操作

 

我的问题已经解决了:

阅读(837) 评论(0)