https://ask.csdn.net/questions/751342?sort=id
1、首先查看子model中是否定义了版本内容。(包括你的groupid、artifactid等内容是否一致)
2、其次查看你的子model是否进行了install,对子model只有打包入仓库后才可以引用使用。
希望能够帮助到你,谢谢。
引入的依赖需要在自己的pom.xml中规定好自己的版本号或者是集成parent的pom版本
<parent>
<groupId>com.xuecheng</groupId>
<artifactId>xxxx</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../xuecheng-pom/pom.xml</relativePath>
</parent>
然后就没有问题了,主要是引入依赖的版本号没确定。