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

解决方法:能够经过再pom.xml中添加代码解决html

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

  参考来源:http://www.javashuo.com/article/p-syolmrvh-ga.htmljava

相关文章
相关标签/搜索