Could not find artifact org.springframework.boot:spring-boot-starter:pom:unknown in alimaven
时间: 2023-10-13 21:00:55 浏览: 186
回答: 问题出现在找不到org.springframework.boot:spring-boot-starter:pom:unknown这个artifact。根据引用和引用的信息,可能是因为maven仓库中没有相关的jar包。解决这个问题的方法是,在依赖中指定type为pom,如引用中所示。您可以将依赖配置为以下形式:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>unknown</version>
<type>pom</type>
</dependency><span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Could not find artifact org.springframework.boot的原因之一](https://blog.csdn.net/qq_34626094/article/details/120470352)[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%"]
- *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^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文