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

时间:2023-12-05 12:03:20

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

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