为了账号安全,请及时绑定邮箱和手机立即绑定

应用SpringCloud完成自定义配置中心开发实践

难度中级
时长 4小时40分
学习人数
综合评分8.80
9人评价 查看评价
9.3 内容实用
7.8 简洁易懂
9.3 逻辑清晰
    • 系统演变

    查看全部
  • 集群模式

    查看全部
  • <!-- springcloud相关的依赖 start-->
    <parent>
       <groupId>org.springframework.boot</groupId>
       <artifactId>spring-boot-starter-parent</artifactId>
       <version>2.0.4.RELEASE</version>
    </parent>

    <dependencyManagement>
       <dependencies>
           <dependency>
               <groupId>org.springframework.cloud</groupId>
               <artifactId>spring-cloud-dependencies</artifactId>
               <version>Finchley.SR1</version>
               <type>pom</type>
           </dependency>
       </dependencies>
    </dependencyManagement>

    <dependencies>
       <dependency>
           <groupId>org.springframework.boot</groupId>
           <artifactId>spring-boot-starter-web</artifactId>
       </dependency>
       <dependency>
           <groupId>org.springframework.cloud</groupId>
           <artifactId>spring-cloud-starter</artifactId>
       </dependency>
       <dependency>
           <groupId>org.springframework.cloud</groupId>
           <artifactId>spring-cloud-starter-config</artifactId>
       </dependency>
    </dependencies>

    <build>
       <plugins>
           <plugin>
               <groupId>org.springframework.boot</groupId>
               <artifactId>spring-boot-maven-plugin</artifactId>
           </plugin>
       </plugins>
    </build>

    <repositories>
       <repository>
           <id>maven-ali</id>
           <url>http://maven.aliyun.com/nexus/content/groups/public//</url>
           <releases>
               <enabled>true</enabled>
           </releases>
           <snapshots>
               <enabled>true</enabled>
               <updatePolicy>always</updatePolicy>
               <checksumPolicy>fail</checksumPolicy>
           </snapshots>
       </repository>
    </repositories>

    报错:

    http://img1.sycdn.imooc.com//60a12b120001384806720261.jpg

    查看全部
  • server端保留微服务中所有client端配置项。

    查看全部
  • Spring Cloud 启动流程分析

    查看全部
    0 采集 收起 来源:启动流程分析

    2020-12-02

  • client-dev.yml中,guestname里的内容,一定要在前面加一个半角空格,否则客户端启动会报错。

    例如

    guestname: xiaoming

    【xiaoming】前面一定要有个空格

    查看全部
  • Redis的启动方式

    redis-server.exe redis.windows.conf

    查看全部
    0 采集 收起 来源:基础安装

    2020-11-30

  • SpringCloud启动流程

    查看全部
    0 采集 收起 来源:启动流程分析

    2020-11-27

  • SpringCloud的五大组件

    查看全部
    0 采集 收起 来源:SpringCloud介绍

    2020-11-27

  • 客户端启动报错问题排查及对应解决方案:

    1. 配置文件路径问题: 注意正斜杠 `/` 与反斜杠 `\`, 使用错误导致配置文件加载失败

    2. pom 依赖问题, 注意: 

    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-config-client</artifactId>
        </dependency>
    </dependencies>

    放置在 client 目录下 pom.xml 中,

    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-config-server</artifactId>
        </dependency>
    </dependencies>

    放置在 server 的 pom.xml 中, 不要放置在父项目的 pom.xml 中.

        3. 注意 clent 中配置文件的名字, 要使用 bootstrap.properties 或者 bootstrap.yml, 其加载顺序比 application.properties 或 application.yml 要高, 这样才能进行参数预加载.   

    查看全部
  • Spring Clout 微服务发展历程

    http://img1.sycdn.imooc.com//5eaa359a0001286507580467.jpg

    查看全部
  • 是的呢   1111111

    查看全部
    0 采集 收起 来源:配置中心演示

    2020-04-16

  • 前端MVC模型

    查看全部
    0 采集 收起 来源:登陆页面开发

    2020-03-31

  •  web 2.0 ajax 接口

    查看全部
    0 采集 收起 来源:登陆页面开发

    2020-03-31

  • MVC 模式

    查看全部
    0 采集 收起 来源:登陆页面开发

    2020-03-31

首页上一页123下一页尾页

举报

0/150
提交
取消
课程须知
需要同学们对SpringCLoud和Vue有基本的了解,以便更好的进行课程学习。
老师告诉你能学到什么?
1、微服务配置中心的核心概念 2、SpringCloud,Jquery和Vue的配合使用 3、配置中心开发实践

微信扫码,参与3人拼团

意见反馈 帮助中心 APP下载
官方微信
友情提示:

您好,此课程属于迁移课程,您已购买该课程,无需重复购买,感谢您对慕课网的支持!