• <noscript id="ecgc0"><kbd id="ecgc0"></kbd></noscript>
    <menu id="ecgc0"></menu>
  • <tt id="ecgc0"></tt>

    spring cloud eureka配置教程

    spring cloud eureka作為辦事注冊中間,若何設置裝備擺設eureka,來啟動一個eureka實例呢,下面將具體介紹

    東西/原料

    • intellij idea

    方式/步調

    1. 1

      打開intellij idea,建立spring boot項目

    2. 2

      添加maven依靠,代碼如下

      <dependency>

             <groupId>org.springframework.cloud</groupId>

             <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>

      </dependency>

    3. 3

      添加@EnableEurekaServer注解,如下圖所示

    4. 4

      點竄application.properties設置裝備擺設文件,設置sever.port

    5. 5

      點擊啟動按鈕,啟動應用法式

    6. 6

      拜候應用,打開eureka界面,如下圖所示

    注重事項

    • spring cloud eureka
    • 留下點贊記實再走吧
    • 發表于 2018-10-15 00:00
    • 閱讀 ( 746 )
    • 分類:其他類型

    你可能感興趣的文章

    相關問題

    0 條評論

    請先 登錄 后評論
    admin
    admin

    0 篇文章

    作家榜 ?

    1. xiaonan123 189 文章
    2. 湯依妹兒 97 文章
    3. luogf229 46 文章
    4. jy02406749 45 文章
    5. 小凡 34 文章
    6. Daisy萌 32 文章
    7. 我的QQ3117863681 24 文章
    8. 華志健 23 文章

    聯系我們:uytrv@hotmail.com 問答工具
  • <noscript id="ecgc0"><kbd id="ecgc0"></kbd></noscript>
    <menu id="ecgc0"></menu>
  • <tt id="ecgc0"></tt>
    久久久久精品国产麻豆