Java Web报错:The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path

一般在jsp页面会显示The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path的错误。 解决方案: (1)在文件夹右键,点击构建路径 (2)在构建Java路径中,点击右面的添加库 (3)点击Server Runtime (4)点击Tomcat,然后点击Finish
相关文章
相关标签/搜索