0
点赞
收藏
分享

微信扫一扫

Eclipse中新建jsp提示The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path


场景

新建jsp页面,提示如下

Eclipse中新建jsp提示The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path_Eclipse

解决

右击项目--Build Path--Config Build Path

Eclipse中新建jsp提示The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path_jsp页面_02

Add Library--Server Runtime

Eclipse中新建jsp提示The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path_jsp页面_03

next--选择Tomcat--Finish

Eclipse中新建jsp提示The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path_jsp页面_04

Apply--Appy and Close

Eclipse中新建jsp提示The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path_jsp页面_05

 

举报

相关推荐

0 条评论