1.The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
在Java构建路径上没有发现这个类
在pom.xml中加入
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>