ROLL-BLOG

  • 博客首页
  • 个人主页
  • 留言板
  • 在线工具
  • 关于我
ROLL-BLOG
纸上得来终觉浅,绝知此事要躬行
  1. 首页
  2. 后端开发
  3. 正文

【学个新技术】三、SpringCloud 微服务环境父项目搭建

2021年9月29日 9424点热度 0人点赞 1条评论

1、环境说明

Springcloud & springboot

版本:

  • springcloud Hoxton.SR6 (1-10)
  • Springboot 2.2.5版本
  • jdk1.8
  • maven 3.x
  • idea 2020

2、环境搭建

2.1 创建springcloud_parent 父项目

<parent>
    <artifactId>spring-boot-starter-parent</artifactId>
    <groupId>org.springframework.boot</groupId>
    <version>2.2.5.RELEASE</version>
</parent>

2.2 维护springcloud依赖

<properties>
    <spring.cloud-version>Hoxton.SR8</spring.cloud-version>
</properties>

<!--维护版本-->
<dependencyManagement>
    <dependencies>
        <!--维护springcloud版本-->
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>${spring.cloud-version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>
标签: SpringCloud 后端开发 学个新技术
最后更新:2021年9月29日

admin

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

  • MarioPIPLY

    Bitcoin (BTC) might just be the golden opportunity of our era, poised to skyrocket to $200,000 in the upcoming year or the one following. In the past year alone, BTC has witnessed a staggering 20-fold increase, while other cryptocurrencies have surged by an astounding 800 times! Consider this: a mere few years ago, Bitcoin was valued at just $2. Now is the time to seize this unparalleled chance in life.
    Join Binance, the world's largest and most secure digital currency exchange, and unlock free rewards. Don't let this pivotal moment slip through your fingers!
    Click the link below to enjoy a lifetime 10% discount on all your trades.
    https://swiy.co/LgSv

    2024年4月18日
    回复
  • razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
    回复 MarioPIPLY 取消回复
    文章目录
    • 1、环境说明
    • 2、环境搭建
      • 2.1 创建springcloud_parent 父项目
      • 2.2 维护springcloud依赖

    归档

    • 2025 年 3 月
    • 2023 年 11 月
    • 2022 年 4 月
    • 2021 年 12 月
    • 2021 年 10 月
    • 2021 年 9 月

    分类

    • Android
    • api相关
    • Jetpack
    • Mac装新机
    • SDK开发
    • 个人爱好
    • 前端开发
    • 后端开发
    • 工具搭建
    • 生活便利
    • 解决需求
    • 记个笔记
    • 课下学技术

    COPYRIGHT © 2024 ROLL-BLOG. ALL RIGHTS RESERVED.

    Theme Kratos Made By Seaton Jiang