首页 > 解决方案 > Spring starter 项目在创建项目时带来错误

问题描述

我正在通过 Eclipse 使用 Spring 启动项目创建一个演示项目,并且我将 Web、Actuator 和 Webtools 包含在这个演示项目中。下载依赖项后,演示项目在 pom.xml 中显示错误,错误消息如下:

***" Multiple annotations found at this line:
    - Failure to transfer org.latencyutils:LatencyUtils:jar:2.0.3 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be 
     reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.latencyutils:LatencyUtils:jar:2.0.3 from/to central 
     (https://repo.maven.apache.org/maven2): repo.maven.apache.org org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer org.latencyutils:LatencyUtils:jar:2.0.3 
     from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates 
     are forced. Original error: Could not transfer artifact org.latencyutils:LatencyUtils:jar:2.0.3 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org at "***

注意:这些只是前几行。

IDE 和 JDK 详细信息:

面向企业 Java 开发人员的 Eclipse IDE。版本:2018-12 (4.10.0) 内部版本号:20181214-0600

JDK 1.8

我尝试更新 eclipse 和插件,但更新过程也仍然不成功。

我创建了多个演示项目,具有不同的依赖项组合,我发现这个错误来自于 Actuator 依赖项。

标签: javaspring-boot

解决方案


推荐阅读