新建jsp报错“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”
是没有将Tomcat运行时相关类加入项目导致的,所以需要进行如下操作:
右击项目名称->propertise->java build path->libraries->add libraries->server runtime->选择你的tomcat 服务器->finish
报错就消失了~~~

相关文章:

  • 2021-05-21
  • 2021-05-26
  • 2021-11-14
  • 2021-07-19
  • 2021-04-05
  • 2021-07-29
  • 2021-10-04
  • 2021-04-17
猜你喜欢
  • 2021-08-02
  • 2021-10-06
  • 2021-08-18
  • 2021-05-08
相关资源
相似解决方案