我正在将一个应用程序迁移到使用 ehcache 3.10.0,但出现了构建错误:Could not find artifact javax.xml.bind:jaxb-api:pom:2.3.0-b161121.1438 in central (https://repo1.maven.org/maven2)。
我在本地的 .m2 目录中看到了这个文件: .m2\repository\javax\xml\bind\jaxb-api -- 2.3.0-b161121.1438
所以这是一个 IDE 的问题,因为它没有在我的本地构建中找到它,但这个版本(2.3.0-b161121.1438)仍然不在 maven 上可用,https://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/
因此,构建失败并显示该artifact错误。有关如何解决此问题的任何提示吗?
<dependency> <groupId>org.ehcache</groupId> <artifactId>ehcache</artifactId> <version>3.10.0</version> </dependency>
- Kari