maven项目 The superclass "javax.servlet.http.HttpServlet" was not found on the Jav
maven项目 The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path 解决方法
pom文件中添加
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
<scope>compile</scope>
</dependency>
还没有评论,来说两句吧...