摘要:
服务端 请见 http://www.cnblogs.com/huiy/p/8668005.html客户端:主启动类import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframewor... 阅读全文
摘要:
在写客户端程序的时候,总是报'com.netflix.discovery.DiscoveryClient' that could not be found。原因在于导入了错误的类:com.netflix.discovery.DiscoveryClient应该是引用:org.springframework.cloud.client.discovery.DiscoveryClient 阅读全文
摘要:
环境:springboot 2.0.0 + springcloud Finchley.M9pom.xml: 4.0.0 net.common eureka-server 1.0.0 jar eureka-server 基本web org.springframework.boot spring-boot-starter-p... 阅读全文