找不到<groupId>org.springframework.boot</groupId>
时间: 2023-11-06 18:07:10 浏览: 137
在新建的Spring Boot项目中,如果出现报错提示"Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found",可以通过添加spring-boot-maven-plugin的版本号来解决。在项目的pom.xml文件中添加以下代码段:
```xml
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.4.5</version>
</plugin>
```
这样就可以解决缺少org.springframework.boot的问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [解决SpringBoot项目总提示找不到org.springframework.boot:spring-boot-maven-plugin的问题](https://blog.csdn.net/qzw752890913/article/details/116765301)[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: 50%"]
- *2* *3* [springboot搭建多模块项目](https://blog.csdn.net/zlliuh/article/details/106725391)[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: 50%"]
[ .reference_list ]
阅读全文