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  接着看图下操作

 

 

 

 

 

 

最后apply close

 

posted @ 2019-05-09 09:21  一去二三浪里小白龙  阅读(1558)  评论(0编辑  收藏  举报
//增加一段JS脚本,为目录生成使用