目前,我们在项目中将Thorntail的版本从2.5.0.Final更新到了2.6.0.Final。

Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find org.codehaus.jackson:jackson-jaxrs:jar:1.9.13.redhat-00006 in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced
    at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:219)
    at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:192)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:554)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:472)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:390)
    ... 47 more


看来WildFly无法找到依赖项:rg.codehaus.jackson:jackson-jaxrs:jar:1.9.13.redhat-00006

最佳答案

请将Maven存储库https://maven.repository.redhat.com/ga/添加到代理存储库列表中。有关更多信息,请查看此博客文章https://thorntail.io/posts/announcing-thorntail-2-6-0-final/#_red_hat_maven_repository_requirement

关于java - Thorntail 2.6.0最终WildFly依赖错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/59247033/

10-09 06:16