Spring boot 使用 maven 编译报错:No plugin found for prefix 'spring-boot' in the current project and in the plugin groups
问题
如题,使用 maven 对 Spring boot 项目编译时(mvn compile
)报错:
No plugin found for prefix 'spring-boot' in the current project and in the plugin groups
解决
项目的创建都依赖于 Spring boot 的 pom.xml
文件,那么首先就要检查 pom.xml
的位置是否正确。
注意:也要看一下当前位置是否在项目目录下面
其次就是 pom.xml
内部是否包含以下代码了:
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。