在eclipse下新建maven工程之后会报错:

新建maven工程报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path解决方案

解决方案如下:

1.右击报错的文件—【Build Path】—【Configure Build Path】

新建maven工程报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path解决方案

2.进入设置界面,【Libraries】—【Add Library】—【Server Runtime】之后,选择你需要的Web服务软件之后,完成即可

新建maven工程报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path解决方案



相关文章:

  • 2021-10-18
猜你喜欢
  • 2021-10-06
  • 2021-09-04
  • 2021-04-15
  • 2021-06-25
  • 2021-10-04
  • 2021-04-17
相关资源
相似解决方案