首页 > 技术文章 > The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

1693977889zz 2018-04-06 08:55 原文

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

 

我的问题已经解决了:

推荐阅读