解决maven引入自定义starter依赖报错

错误信息:

parent.relativePath' of POM com.fast:fast-workflow-spring-boot-starter:1.0-SNAPSHOT (D:\project\spring-auto-parent\fast-workflow-spring-boot-starter\pom.xml) points at com.fast:spring-auto-parent instead of org.springframework.boot:spring-boot-starter-parent, please verify your project structure

 

解决:

在pom.xml的parent标签里添加如下内容:

<relativePath></relativePath>

 

参考资料:

https://blog.csdn.net/weixin_42649056/article/details/109350851

https://juejin.cn/post/7090581543659241480

posted @ 2022-06-13 16:16  jamstack  阅读(60)  评论(0编辑  收藏  举报