阅读背景:

Maven工程中web项目提示The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path错误

来源:互联网 

解决方法:可以通过再pom.xml中添加代码解决

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



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: