Resource Path Location fail find jar was cached in the local repo, resolution will not be reattempted 直到更新间隔已经过去或
Resource Path Location fail find jar was cached in the local repo, resolution will not be reattempted until the update interval has elapsed or up
我已经安装了 Spring 带有 maven 插件的工具套件并安装了 maven 3.6.1。
我在主文件夹的 .m2 目录中设置了正确的 settings.xml(Windows)
我第一次创建一个 spring 引导启动项目,它被创建并获得所有依赖项,我做了以下操作:-
Right click on project -> Maven -> Update Project -> Force update of snapshots(checked) [1]
第一次我的所有依赖项都下载到 .m2/repository 文件夹中,当我 运行 我的项目作为 spring 引导项目时,它 运行 成功。
但是当我在同一个工作区中创建第二个 spring 启动项目并尝试 [1] 中提到的上述方法时,我收到以下错误:-
Failure to find org.springframework.boot:spring-boot-maven-plugin:jar:2.1.5.RELEASE in http://some.domain/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced [2]
我一直面临 [2] 中提到的问题。
如有任何帮助,我们将不胜感激
我的 spring 入门项目 pom.xml 如下:-
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.5.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
但是我本地的 maven 仓库是 2.1.4
如此改变
<version>2.1.5.RELEASE</version>
至
<version>2.1.4.RELEASE</version>
问题已解决
我已经安装了 Spring 带有 maven 插件的工具套件并安装了 maven 3.6.1。 我在主文件夹的 .m2 目录中设置了正确的 settings.xml(Windows) 我第一次创建一个 spring 引导启动项目,它被创建并获得所有依赖项,我做了以下操作:-
Right click on project -> Maven -> Update Project -> Force update of snapshots(checked) [1]
第一次我的所有依赖项都下载到 .m2/repository 文件夹中,当我 运行 我的项目作为 spring 引导项目时,它 运行 成功。
但是当我在同一个工作区中创建第二个 spring 启动项目并尝试 [1] 中提到的上述方法时,我收到以下错误:-
Failure to find org.springframework.boot:spring-boot-maven-plugin:jar:2.1.5.RELEASE in http://some.domain/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced [2]
我一直面临 [2] 中提到的问题。
如有任何帮助,我们将不胜感激
我的 spring 入门项目 pom.xml 如下:-
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.5.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
但是我本地的 maven 仓库是 2.1.4
如此改变
<version>2.1.5.RELEASE</version>
至
<version>2.1.4.RELEASE</version>
问题已解决