新建Maven项目报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

新建Maven项目后报错,The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path

解决方法:

项目上右击鼠标,选择 Build Path => Configure Build Path,弹出下面的菜单。
新建Maven项目报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
点击Server Runtime
新建Maven项目报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

新建Maven项目报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

点击Finish。完成

相关文章:

  • 2021-09-06
  • 2021-04-05
  • 2021-08-02
  • 2022-01-06
  • 2021-10-04
猜你喜欢
  • 2021-09-13
  • 2021-08-14
  • 2022-01-28
  • 2021-10-06
  • 2021-06-26
  • 2022-12-23
相关资源
相似解决方案