环境:
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>
Copyright @ 2024 yjanb11 Powered by .NET 8.0 on Kubernetes Powered by: .Text and ASP.NET Theme by: .NET Monster