首页 > 编程语言 > 详细

使用maven创建项目时报错The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

时间:2018-11-25 14:01:19      阅读:571      评论:0      收藏:0      [点我收藏+]

 Description Resource Path Location Type

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path index.jsp /ssm-crud/WebRoot line 1 JSP Problem

解决办法如下所示:

技术分享图片

在add Library时,没有server runtime,就是用MyEclipse server library

 技术分享图片

然后next->ok。错误就没有了。

 

使用maven创建项目时报错The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

原文:https://www.cnblogs.com/liaoxiaolao/p/10015258.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!