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

前端 未结 17 1900
醉话见心
醉话见心 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:20

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

    Error: "Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"

    Solution: Adding the tomcat server in the server runtime will do the job : Project Properties-> Java Build Path-> Add Library -> Select "Server Runtime" from the list-> Next->Select "Apache Tomcat"-> Finish

    This solution work for me.

提交回复
热议问题