本文主要是介绍继承spring boot父项目后project报错parent.relativePath‘ of POM org.example:springboot_day01:1.0-SNAPSHOT (*:/,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
<parent><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-parent</artifactId><version>2.2.5.RELEASE</version></parent>
后改为
<parent><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-parent</artifactId><version>2.2.5.RELEASE</version><relativePath /></parent>
就正常了
原因:因为我这个项目已经是子项目 然后在子项目中继承了个父项目 继承的却不是自己的父项目所以报红
这篇关于继承spring boot父项目后project报错parent.relativePath‘ of POM org.example:springboot_day01:1.0-SNAPSHOT (*:/的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!