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

前端 未结 17 1861
醉话见心
醉话见心 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条回答
  •  萌比男神i
    2020-12-24 03:33

    I faced the same error. Adding the tomcat server in the runtime environment will solve the error:

    Right click on your project -> Properties -> Targeted runtimes -> Select apache tomcat server -> click apply -> click ok.

提交回复
热议问题