The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
Posted 长河落日圆
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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...——在如下图操作
我的问题已经解决了:
以上是关于The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path的主要内容,如果未能解决你的问题,请参考以下文章