简体   繁体   English

项目构建错误:Non-resolvable parent POM: Failure to transfer org.springframework.boot:spring-boot-starter-parent:

[英]Project build error: Non-resolvable parent POM: Failure to transfer org.springframework.boot:spring-boot-starter- parent:

someone help me out I am getting this following issue while trying to save the pom.xml file:有人帮助我,我在尝试保存 pom.xml 文件时遇到以下问题:

Project build error: Non-resolvable parent POM: Failure to transfer org.springframework.boot:spring-boot-starter- parent:pom:2.5.0 from http://uk.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of UK has elapsed or updates are forced.项目构建错误:Non-resolvable parent POM: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.5.0 from http://uk.maven.org/maven2缓存在本地存储库中,直到 UK 的更新间隔已过或强制更新,才会重新尝试解决。 Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.5.0 from/to UK ( http://uk.maven.org/maven2 ): null to http://uk.maven.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.5.0/spring-boot-starter- parent-2.5.0.pom and 'parent.relativePath' points at no local POM Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.5.0 from/to UK ( http://uk.maven.org/maven2 ): null to http:// uk.maven.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.5.0/spring-boot-starter-parent-2.5.0.pom和“parent.relativePath”指向没有本地 POM

here's my pom.xml这是我的 pom.xml

4.0.0 org.springframework.boot spring-boot-starter-parent 2.5.0 com.example MaBanque 0.0.1-SNAPSHOT MaBanque Demo project for Spring Boot <java.version>11</java.version> org.springframework.boot spring-boot-starter-data-jpa org.springframework.boot spring-boot-starter-security org.springframework.boot spring-boot-starter-thymeleaf org.thymeleaf.extras thymeleaf-extras-springsecurity5 4.0.0 org.springframework.boot spring-boot-starter-parent 2.5.0 com.example MaBanque 0.0.1-SNAPSHOT MaBanque Demo project for Spring Boot <java.version>11</java.framework> spring-boot-starter-data-jpa org.springframework.boot spring-boot-starter-security org.springframework.boot spring-boot-starter-thymeleaf org.thymeleaf.extras thymeleaf-extras-springsecurity5

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-devtools</artifactId>
        <scope>runtime</scope>
        <optional>true</optional>
    </dependency>
    <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
        <scope>runtime</scope>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.springframework.security</groupId>
        <artifactId>spring-security-test</artifactId>
        <scope>test</scope>
    </dependency>
</dependencies>

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

was cached in the local repository,It looks like your maven can`t load Try reinstall maven, and try generata this project using https://start.spring.io was cached in the local repository,It looks like your maven can`t load Try reinstall maven, and try generata this project using https://start.spring.io

暂无
暂无

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

相关问题 项目构建错误:org.springframework.boot:spring-boot-starter-parent:[unknown-version] 的不可解析父 POM:传输失败 - Project build error: Non-resolvable parent POM for org.springframework.boot:spring-boot-starter-parent:[unknown-version]: Failure to transfer 不可解析的父 POM:无法传输工件 org.springframework.boot:spring-boot-dependencies:pom - Non-resolvable parent POM: Could not transfer artifact org.springframework.boot:spring-boot-dependencies:pom 无法传输工件 org.springframework.boot:spring-boot-starter-parent:pom - Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom 项目构建错误:不可解析的导入 POM:无法传输 org.springframework.cloud:spring-cloud-dependencies:pom:Greenwich.RC2 - Project build error: Non-resolvable import POM: Failure to transfer org.springframework.cloud:spring-cloud-dependencies:pom:Greenwich.RC2 项目生成错误:应用程序无法解析的父POM - Project build error: Non-resolvable parent POM for Application 项目生成错误:不可解析的父POM - Project build error: Non-resolvable parent POM for 项目 'org.springframework.boot:spring-boot-starter-parent:2.4.0' 未找到 - Project 'org.springframework.boot:spring-boot-starter-parent:2.4.0' not found 项目构建错误:不可解析的父 POM - Project build error: Non-resolvable parent POM 项目生成错误:不可解析的父POM fo - Project build error: Non-resolvable parent POM fo Docker Build上不可解析的父POM - Non-resolvable parent POM on Docker Build
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM