我们在用Eclipse进行Java web开发时,可能会出现这样的错误:

The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path。我们该怎么解决这个问题呢?

 

下面是具体的解决方法:
右击web工程-》属性或Build Path-》Java Build Path->Libraries-> Add Libray...->Server Runtime -》Tomcat Server

 

相关文章:

  • 2021-08-18
  • 2021-07-07
  • 2022-12-23
  • 2022-01-06
  • 2021-10-04
猜你喜欢
  • 2021-10-20
  • 2021-10-24
  • 2021-05-31
  • 2021-06-01
  • 2021-11-04
  • 2021-07-27
  • 2021-06-22
相关资源
相似解决方案