Failed to execute goal on project famemark: Could not resolve dependencies for project com.zks:famemark:war:1.0-SNAPSHOT: Failure to find javax.servlet:javax.servlet-api:jar:9.0.29 in https://maven.aliyun.com/repository/central was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced -> [Help 1]
[ERROR]
项目突然加载不了javax.servlet这个Java包了
之前使用的是这个依赖坐标
<!-- servlet-api的坐标依赖 -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
发现引入不了
然后换了一个坐标
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-servlet_2.4_spec</artifactId>
<version>1.1.1</version>
<scope>provided</scope>
</dependency>
这个就好用了
但是还是比较奇怪,昨晚还可以用的