eclipse:报错信息The superclass “javax.servlet.http.HttpServlet” was not found


错误实例:

eclipse Promblems 显示:

eclipse:报错信息The superclass “javax.servlet.http.HttpServlet” was not found


工程上显示:

eclipse:报错信息The superclass “javax.servlet.http.HttpServlet” was not found

解决办法:

1、右击web工程-->probertiesBuild Path-->Java BuildPath-->Libraries-->Add Libray-->Server Runtime-->Tomcat Server

2、切换到Java Build Path界面中的Oraderand Export,选择Tomcat


操作如下:

eclipse:报错信息The superclass “javax.servlet.http.HttpServlet” was not found


2.选择: 点击Next

eclipse:报错信息The superclass “javax.servlet.http.HttpServlet” was not found


4.

eclipse:报错信息The superclass “javax.servlet.http.HttpServlet” was not found


最后点击finish

eclipse:报错信息The superclass “javax.servlet.http.HttpServlet” was not found



相关文章:

  • 2021-12-12
  • 2021-05-08
  • 2021-10-06
  • 2021-04-28
  • 2021-05-26
  • 2021-04-15
  • 2021-10-16
  • 2021-04-26
猜你喜欢
  • 2022-01-08
  • 2021-08-21
  • 2021-12-20
  • 2021-08-08
  • 2021-08-12
相关资源
相似解决方案