1. Create maven muti parent module

Springboot Drill ----- Maven muti module and Eureka client

Springboot Drill ----- Maven muti module and Eureka client

2. Create gate module

Springboot Drill ----- Maven muti module and Eureka client

Springboot Drill ----- Maven muti module and Eureka client

3.Configuration parent pom.xml

Springboot Drill ----- Maven muti module and Eureka client

4. Configuration gate pom.xml , application.yml  and logback.xml

Springboot Drill ----- Maven muti module and Eureka client

Springboot Drill ----- Maven muti module and Eureka client

Springboot Drill ----- Maven muti module and Eureka client

5. Start project and registation to eureka

Springboot Drill ----- Maven muti module and Eureka client

Springboot Drill ----- Maven muti module and Eureka client

6. Upload github  (https://github.com/juniflloor/gate)

Springboot Drill ----- Maven muti module and Eureka client

7. Refer

Please remeber this picture

Springboot Drill ----- Maven muti module and Eureka client

Eureka server dont' configuration context-path, only this application.yml defaultZone  is same url.

Springboot Drill ----- Maven muti module and Eureka client

相关文章:

  • 2021-11-02
  • 2021-11-22
  • 2021-10-15
  • 2022-12-23
  • 2021-08-10
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-18
  • 2021-10-15
  • 2021-07-26
  • 2021-08-27
  • 2022-12-23
  • 2021-10-28
  • 2021-08-24
相关资源
相似解决方案