Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Eclipse 资源 ;路径 ;Location fail find jar缓存在本地repo中,在更新间隔结束或结束之前,不会重新尝试解析_Eclipse_Maven_Spring Boot_Maven Plugin - Fatal编程技术网

Eclipse 资源 ;路径 ;Location fail find jar缓存在本地repo中,在更新间隔结束或结束之前,不会重新尝试解析

Eclipse 资源 ;路径 ;Location fail find jar缓存在本地repo中,在更新间隔结束或结束之前,不会重新尝试解析,eclipse,maven,spring-boot,maven-plugin,Eclipse,Maven,Spring Boot,Maven Plugin,我已经安装了带有maven插件的Spring工具套件,并安装了maven 3.6.1。 我已在主文件夹(Windows)的.m2目录中设置了正确的settings.xml 我第一次创建spring boot starter项目时,创建了该项目,为了使所有依赖项就位,我执行了以下操作:- Right click on project -> Maven -> Update Project -> Force update of snapshots(checked) [1] 我的所有

我已经安装了带有maven插件的Spring工具套件,并安装了maven 3.6.1。 我已在主文件夹(Windows)的.m2目录中设置了正确的settings.xml 我第一次创建spring boot starter项目时,创建了该项目,为了使所有依赖项就位,我执行了以下操作:-

Right click on project -> Maven -> Update Project -> Force update of snapshots(checked) [1]
我的所有依赖项第一次下载到.m2/repository文件夹中,当我以spring启动项目的形式运行我的项目时,它成功地运行了

但是,当我在同一个工作区中创建了第二个spring starter项目并尝试了[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]中提到的问题


任何帮助都将不胜感激

我使用pom.xml创建了spring starter项目,如下所示:-

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.1.5.RELEASE</version>
    <relativePath/> <!-- lookup parent from repository -->
</parent>

org.springframework.boot
spring启动程序父级
2.1.5.1发布
但我当地的maven回购协议是2.1.4

如此改变

<version>2.1.5.RELEASE</version>
2.1.5.1版本

2.1.4.1版本
问题解决了

<version>2.1.4.RELEASE</version>