Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.7.14.RELEASE in alimaven
时间: 2023-10-13 07:00:58 浏览: 243
回答: 在你的引用中提到了一个错误信息:“Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.7.14.RELEASE in alimaven”。这个错误信息表示在Maven仓库中找不到对应的依赖项。根据引用的解释,可能是因为仓库中没有该依赖项的jar包,所以需要在依赖中指定type为pom。你可以尝试在你的Maven项目中加入以下依赖项来解决这个问题:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.7</version>
<type>pom</type>
</dependency>
这样指定了type为pom后,Maven会正确地根据pom文件引入依赖项。希望这个解决方案可以帮助你解决问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Could not find artifact org.springframework.boot:spring-boot-starter-parent:jar](https://blog.csdn.net/a1004314120/article/details/128584548)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *3* [报错: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom](https://blog.csdn.net/muzi_87/article/details/130216813)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文