标签:http idt vax 配置 忘记 info aries provided time
方法一:
<dependency>  
    <groupId>javax.servlet</groupId>  
    <artifactId>servlet-api</artifactId>  
    <version>2.5</version>  
    <scope>provided</scope>  
</dependency>
方法二:
Java Build Path -> Libraries ->Add Library… -> Server Runtime ->Next。 具体如下所示:
  
点击Next后选择我们之前配置的Apache Tomcat v9.0,然后点击Finish即可。添加完Libraries后不要忘记点击Apply按钮以及OK按钮。
Maven 实战 - maven新建web项目提示"javax.servlet.http.HttpServlet" was not found on the Java Build Path
标签:http idt vax 配置 忘记 info aries provided time
原文地址:https://www.cnblogs.com/jiangtao1218/p/10011149.html