菜鸟学院
jsp文件报错 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
时间 2021-01-07
我使用的是tomcat,需要引入Tomcat运行时相关类
下面是具体的解决方法:
右击web工程-》属性或Build Path-》Java Build Path->Libraries-> Add Libray...->Server Runtime -》Tomcat Server
更详细图形参考:
https://yq.aliyun.com/articles/638206