The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path

前端 未结 17 1925
醉话见心
醉话见心 2020-12-24 02:32

I\'m a beginner and learning spring and hibernate (utilizing maven in project)and came across this problem and got stuck here. tried finding solution but ended up no where.

17条回答
  •  余生分开走
    2020-12-24 03:08

    Project Properties -> Java Build Path -> in the libraries Select "Classpath" -> Add Library -> Select "Server Runtime" from the list -> Next -> Select "Apache Tomcat" -> Finish

提交回复
热议问题