这是一个比较不应该犯的错误。 对于CMD命令行操作,在运行开始时将显示以下内容:
**[INFO] Scanning for projects…
[WARNING]
[ warning ] someproblemswereencounteredwhilebuildingtheeffectivemodelforcom.manning 3360 reading list 3360 jar 3600.0.0.1-1
[warning]‘build.plugins.plugin .groupid : artifact id’mustbeuniquebutfoundduplicatedeclarationofpluginorg.sp pinorg.sp
[WARNING]
[ warning ] itishighlyrecommendedtofixtheseproblemsbecausetheythreatenthestabilityofyourbuild
[WARNING]
[WARNING] For this reason,futuremavenversionsmightnolongersupportbuildingsuchmalformedprojects。
**
这是因为build.plugins.plugin.(groupid : artifact id )出现了重复的位置。 刚学的时候,因为找了很多博文,不小心反复配置了org.spring framework.boot : spring-boot-maven-plugin。
出现此问题是因为在生成项目时已经有了org.spring framework.boot : spring-boot-maven-plugin配置,但我在排查问题时没有注意到,别人的