【问题标题】:what is the name of the spring boot starter parent pom? org.springframework.boot:spring-boot-starter-parentJFrog - spring boot starter parent pom 的名称是什么? org.springframework.boot:spring-boot-starter-parent
【发布时间】:2022-07-30 20:47:17
【问题描述】:

我遇到了一个maven安装问题,错误如下:

[ERROR]     Non-resolvable parent POM: Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.4.RELEASE and 'parent.relativePath' points at wrong local POM @ line 16, column 10 -> [Help 2]
org.apache.maven.model.resolution.UnresolvableModelException: Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.4.RELEASE

这是 pom.xml 中父 pom 的条目:

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

我咨询了开发运维工程师,他说要检查 JFrog,看看那里有什么版本的 spring boot starter parent 并使用它。

我的问题是,我在哪里/如何在 JFrog 中找到它?我在“工件”下查找,但它们是按名称组织的,而不是域,所以我需要知道要查找的名称。

【问题讨论】:

    标签: spring-boot maven jfrog


    【解决方案1】:

    从 Internet 上的存储库切换到 jFROG 存储库时,我遇到了同样的问题。我的问题背后的原因如下

    1. “Artefactory Requests Can Retrieve Artifacts”配置在虚拟存储库的高级部分被禁用
    2. jFROG 虚拟存储库仅与本地存储库链接。所以,jFROG 只在本地仓库中搜索。从未尝试过互联网上的远程存储库。因此,我在 jFROG 中创建了一个远程存储库并将其与虚拟存储库链接

    发布以上 2 步构建成功

    【讨论】:

      猜你喜欢
      • 2021-03-29
      • 2021-08-22
      • 2020-05-23
      • 2021-03-05
      • 2023-02-07
      • 2017-09-04
      • 1970-01-01
      • 2021-09-20
      • 2018-07-18
      相关资源
      最近更新 更多