简体   繁体   English

无法使用spring-boot项目的1.3.0.RELEASE

[英]Not able to use 1.3.0.RELEASE of spring-boot project

I am not able to use 1.3.0.RELEASE version of spring-boot in my project. 我无法在项目中使用spring-boot的1.3.0.RELEASE版本。 Following is my pom.xml: 以下是我的pom.xml:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.abc</groupId>
    <artifactId>xyz</artifactId>
    <packaging>jar</packaging>

    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>1.3.0.RELEASE</version>
    </parent>

    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>
</project>

I am getting following error: 我收到以下错误:

Project build error: Non-resolvable parent POM for com.elm:elm:[unknown-version]: Failure to find org.springframework.boot:spring-boot-starter-parent:pom:1.3.0.RELEASE in 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 and 'parent.relativePath' points at wrong local POM pom.xml /elm line 8 Maven pom Loading Problem 项目构建错误:com.elm:elm:[unknown-version]的不可解析的父POM:在https://中找不到org.springframework.boot:spring-boot-starter-parent:pom:1.3.0.RELEASE /repo.maven.apache.org/maven2已缓存在本地存储库中,直到中心的更新间隔过去或强制执行更新并且'parent.relativePath'指向错误的本地POM pom.xml / elm时,才会重新尝试解析第8行Maven pom加载问题

Your local cached repository seems to be messed up. 您本地的缓存存储库似乎被弄乱了。

Either you can force maven to download dependencies with 您可以强制maven命令下载依赖项

mvn clean install -U

or you can clean your cached repository by removing <USER_HOME>/.m2/repository directory. 或者,您可以通过删除<USER_HOME>/.m2/repository目录来清理缓存的存储<USER_HOME>/.m2/repository

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 升级到1.3.0.RELEASE时弹出启动的问题 - issue with spring boot while upgrading to 1.3.0.RELEASE Spring Boot 1.3.0.RELEASE默认搜索位置导致FilePermission问题 - Spring Boot 1.3.0.RELEASE default search locations causing FilePermission issues 如何编写带有Spring Boot(1.5.3.RELEASE)和Spring Cloud Config(1.3.0.RELEASE)的Spring Cloud Config服务器? - How do you write a Spring Cloud Config Server with Spring Boot (1.5.3.RELEASE) and Spring Cloud Config (1.3.0.RELEASE)? 从1.3.0.M1-&gt; 1.3.0.RELEASE升级spring-cloud-netflix时,杰克逊反序列化错误 - Jackson deserialisation error when upgrading spring-cloud-netflix from 1.3.0.M1 -> 1.3.0.RELEASE 无法将 JPA 依赖项添加到 spring-boot 项目中 - Not able to add JPA dependency into spring-boot project 在spring-boot项目中使用spring mvc xml项目 - Use spring mvc xml project inside spring-boot project apache-spark 1.3.0以及纱线集成和弹簧引导容器 - apache-spark 1.3.0 and yarn integration and spring-boot as a container 将spring-boot项目配置为使用SSL后的响应为空 - Empty response after configure the spring-boot project to use SSL spring-boot 项目中的错误 - Errors in spring-boot project Spring-Boot无法启动嵌入式Tomcat - Spring-Boot not able to start embedded Tomcat
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM