Eclipse Maven项目出现“The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path”

Eclipse 新建完Maven项目后在index.jsp里出现“The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path”的错误提示,大概意思是没找到javax.servlet.http.HttpServlet?这个父类?

解决:右键项目 Build Path --> Configure Build Path  接着看图下操作

扫描二维码关注公众号,回复: 6173208 查看本文章

最后apply close

猜你喜欢

转载自www.cnblogs.com/Guhongying/p/10836578.html
今日推荐