解决:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Bu

使用myeclipse时jsp页面报如上错误

解决方案:

1.右击项目——properties——libraries——add library

解决:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Bu


2.点击myeclipse Server Library——myeclipse Tomcat

解决:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Bu