The superclass "javax.servlet.http.HttpServlet" was not found on the JavaBean

使用Eclipse创建一个jsp报出这个错误

The superclass "javax.servlet.http.HttpServlet" was not found on the JavaBean


原因是没有添加Tomcat的jar











果然药到病除

你可能感兴趣的:(eclipse)