Could not find artifact org.springframework.boot:spring-boot-starter-parent
时间: 2023-10-04 13:10:43 浏览: 254
这个问题是因为在maven仓库中找不到org.springframework.boot:spring-boot-starter-parent这个依赖的jar包。解决这个问题的方法是在依赖中指定type为pom。具体操作是在pom.xml文件中添加以下代码:
```
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.7</version>
<type>pom</type>
</dependency>
```
这样就可以解决找不到spring-boot-starter-parent的问题了。如果还是无法解决,可能是maven仓库中没有该jar包,可以尝试更换其他可靠的仓库或者检查网络连接。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [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^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文