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

时间:2023-07-31 19:34:50

用Eclipse创建jsp页面时,提示这个错误

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

解决的方法是:右键项目,Build Path->Configure Build Path

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

Add Library

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

Server Runtime,这里会列出来你之前添加的Server

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

Finish.这样问题就解决了