在创建Maven项目he superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

来源:互联网 发布:lols7版本强势英雄知乎 编辑:程序博客网 时间:2024/05/24 05:39

在pom.xml中添加:

<!-- 导入java ee jar包 -->
    <dependency>
         <groupId>Javax</groupId>
         <artifactId>javaee-api</artifactId>
         <version>7.0</version>
   </dependency>

即可。

阅读全文
0 0