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

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

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

Add Library

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

Finish.这样问题就解决了

posted @ 2018-09-25 15:11  魔豆  阅读(223)  评论(0编辑  收藏  举报