码迷,mamicode.com
首页 > 编程语言 > 详细

maven The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path错误

时间:2016-09-09 22:06:31      阅读:240      评论:0      收藏:0      [点我收藏+]

标签:

对于这个问题的话,请在pom文件中加入

		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
			<version>2.5</version>
			<scope>provided</scope>
		</dependency>

 

maven The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path错误

标签:

原文地址:http://www.cnblogs.com/lonecloud/p/5857994.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!