微服务 SpringBoot+Dubbo+Docker+Jenkins(一)

SpringBoot+Dubbo+Docker+Jenkins

https://github.com/Leon-xiayu/SpringBoot-Dubbo-Docker-Jenkins

微服务踩坑

此项目为fork项目,故将所有Gaoxi替换为leon 请自行辨别
  1. 包依赖问题


    image.png

    Leon-Common-Service-Facade 为leon的子模块,在leon中的pom.xml中指定了

<modules>
        <module>Leon-Analysis</module>
        <module>Leon-Order</module>
        <module>Leon-Product</module>
        <module>Leon-User</module>
        <module>Leon-Redis</module>
        <module>Leon-Controller</module>
        <module>Leon-Common-Service-Facade</module>
    </modules>

但打开maven控制面板,一直报Dependencies错误 clean+complie之后依然没用,于是将 Leon-Common-Service-Facade 中的pom.xml以下片段剪切重新粘贴解决

 <parent>
        <groupId>com.leon</groupId>
        <artifactId>leon</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <relativePath>../pom.xml</relativePath>
    </parent>
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容