Could not find artifact org.springframework.boot:spring-boot-starter-parent:jar:2.5.0 in alimaven
时间: 2023-08-15 21:14:14 浏览: 418
回答: 根据引用\[1\]和引用\[3\]的信息,问题出现在无法在maven仓库中找到org.springframework.boot:spring-boot-starter-parent:jar:2.5.0这个依赖包。根据引用\[2\]的建议,你可以在依赖中指定type为pom来解决这个问题。具体来说,你可以在pom.xml文件中添加以下代码:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.0</version>
<type>pom</type>
</dependency>
这样就可以解决找不到依赖包的问题了。
#### 引用[.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^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [已解决Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.2.4.RELEASE](https://blog.csdn.net/weixin_50843918/article/details/129774024)[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^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文