基于java1.8
(1)SpringCloud  pom
<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.0.3.RELEASE</version>
</parent>

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

(2)注册中心pom

<dependencies>
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
        <version>2.0.2.RELEASE</version>
    </dependency>
</dependencies>

结果

SpringBoot SpringCloud 基础环境搭建 pom,多次试

 

 

相关文章:

  • 2022-01-06
  • 2021-04-05
  • 2021-05-04
  • 2021-10-29
  • 2021-11-27
  • 2021-11-20
猜你喜欢
  • 2021-11-14
  • 2021-12-24
  • 2022-01-03
  • 2022-12-23
  • 2022-01-17
  • 2021-04-02
  • 2021-12-18
相关资源
相似解决方案