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

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

		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
			<version>2.5</version>
			<scope>provided</scope>
		</dependency>
原文地址:https://www.cnblogs.com/lonecloud/p/5857994.html