環境:
IDEA
maven3.0
springboot2.2.0
特別注意springboot的版本,1.0和2.0有很大區別
解決辦法:
pom添加:
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-eureka</artifactId>
<version>2.1.1.RELEASE</version>
</dependency>
環境:
IDEA
maven3.0
springboot2.2.0
特別注意springboot的版本,1.0和2.0有很大區別
解決辦法:
pom添加:
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-eureka</artifactId>
<version>2.1.1.RELEASE</version>
</dependency>
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。