-------------------------------------------------------------------------------
Test set: com.itmayiedu.springcloudeurekaserver.SpringcloudEurekaServerApplicationTests
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 18.401 s <<< FAILURE! - in com.itmayiedu.springcloudeurekaserver.SpringcloudEurekaServerApplicationTests
contextLoads Time elapsed: 0.009 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'healthIndicatorRegistry' defined in class path resource [org/springframework/boot/actuate/autoconfigure/health/LegacyHealthEndpointCompatibilityConfiguration.class]: Unsatisfied dependency expressed through method 'healthIndicatorRegistry' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'healthContributorRegistry' defined in class path resource [org/springframework/boot/actuate/autoconfigure/health/HealthEndpointConfiguration.class]: Unsatisfied dependency expressed through method 'healthContributorRegistry' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'discoveryCompositeHealthIndicator' defined in class path resource [org/springframework/cloud/client/CommonsClientAutoConfiguration$DiscoveryLoadBalancerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.client.discovery.health.DiscoveryCompositeHealthIndicator]: Factory method 'discoveryCompositeHealthIndicator' threw exception; nested exception is java.lang.NoSuchMethodError: org.springframework.boot.actuate.health.CompositeHealthIndicator.<init>(Lorg/springframework/boot/actuate/health/HealthAggregator;)V
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'healthContributorRegistry' defined in class path resource [org/springframework/boot/actuate/autoconfigure/health/HealthEndpointConfiguration.class]: Unsatisfied dependency expressed through method 'healthContributorRegistry' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'discoveryCompositeHealthIndicator' defined in class path resource [org/springframework/cloud/client/CommonsClientAutoConfiguration$DiscoveryLoadBalancerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.client.discovery.health.DiscoveryCompositeHealthIndicator]: Factory method 'discoveryCompositeHealthIndicator' threw exception; nested exception is java.lang.NoSuchMethodError: org.springframework.boot.actuate.health.CompositeHealthIndicator.<init>(Lorg/springframework/boot/actuate/health/HealthAggregator;)V
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'discoveryCompositeHealthIndicator' defined in class path resource [org/springframework/cloud/client/CommonsClientAutoConfiguration$DiscoveryLoadBalancerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.client.discovery.health.DiscoveryCompositeHealthIndicator]: Factory method 'discoveryCompositeHealthIndicator' threw exception; nested exception is java.lang.NoSuchMethodError: org.springframework.boot.actuate.health.CompositeHealthIndicator.<init>(Lorg/springframework/boot/actuate/health/HealthAggregator;)V
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.client.discovery.health.DiscoveryCompositeHealthIndicator]: Factory method 'discoveryCompositeHealthIndicator' threw exception; nested exception is java.lang.NoSuchMethodError: org.springframework.boot.actuate.health.CompositeHealthIndicator.<init>(Lorg/springframework/boot/actuate/health/HealthAggregator;)V
Caused by: java.lang.NoSuchMethodError: org.springframework.boot.actuate.health.CompositeHealthIndicator.<init>(Lorg/springframework/boot/actuate/health/HealthAggregator;)V
没有合适的资源?快使用搜索试试~ 我知道了~
SpringCloud(三)Ribbon负载均衡原理与Feign客户端的使用
共627个文件
xml:529个
java:19个
class:17个
需积分: 37 6 下载量 174 浏览量
2019-11-20
19:37:48
上传
评论
收藏 454KB RAR 举报
温馨提示
Spring Cloud是一系列框架的有序集合。它利用Spring Boot的开发便利性巧妙地简化了分布式系统基础设施的开发,如服务发现注册、配置中心、消息总线、负载均衡、断路器、数据监控等,都可以用Spring Boot的开发风格做到一键启动和部署。Spring Cloud并没有重复制造轮子,它只是将目前各家公司开发的比较成熟、经得起实际考验的服务框架组合起来,通过Spring Boot风格进行再封装屏蔽掉了复杂的配置和实现原理,最终给开发者留出了一套简单易懂、易部署和易维护的分布式系统开发工具包。
资源推荐
资源详情
资源评论
收起资源包目录
SpringCloud(三)Ribbon负载均衡原理与Feign客户端的使用 (627个子文件)
UserEntity.class 2KB
OrderController.class 1KB
SpringcloudOrderApplication.class 1KB
IOrderServiceImpl.class 1KB
MemberServiceImpl.class 1009B
MemberController.class 912B
AppMember.class 864B
AppOrder.class 845B
SpringcloudMemberApplication.class 834B
AppEureka.class 832B
FeignController.class 817B
AppEureka.class 784B
MemberApiFeign.class 392B
IMemberService.class 325B
IOrderService.class 320B
IOrderService.class 320B
MemberApiFegin.class 308B
.classpath 1KB
mvnw.cmd 6KB
mvnw.cmd 6KB
mvnw.cmd 6KB
.gitignore 333B
.gitignore 333B
.gitignore 333B
springcloud-eureka-server.iml 16KB
springcloud-2.0-eureka-server.iml 15KB
springcloud-order.iml 15KB
springcloud-member.iml 14KB
maven-wrapper.jar 50KB
maven-wrapper.jar 50KB
maven-wrapper.jar 47KB
springcloud-member-service-impl-1.0-SNAPSHOT.jar 4KB
springcloud-api-member-service-1.0-SNAPSHOT.jar 4KB
springcloud-api-order-service-1.0-SNAPSHOT.jar 2KB
MavenWrapperDownloader.java 5KB
MavenWrapperDownloader.java 5KB
MavenWrapperDownloader.java 5KB
OrderController.java 1KB
SpringcloudOrderApplication.java 870B
IOrderServiceImpl.java 676B
MemberServiceImpl.java 580B
AppEureka.java 514B
FeignController.java 511B
AppMember.java 492B
AppOrder.java 482B
AppEureka.java 477B
MemberController.java 438B
SpringcloudMemberApplication.java 428B
MemberApiFeign.java 407B
IMemberService.java 256B
MemberApiFegin.java 255B
IOrderService.java 224B
UserEntity.java 153B
springcloud-eureka-server.kotlin_module 16B
springcloud-eureka-server.kotlin_module 16B
springcloud-2.0-eureka-server.kotlin_module 16B
inputFiles.lst 345B
inputFiles.lst 307B
inputFiles.lst 304B
inputFiles.lst 169B
inputFiles.lst 164B
createdFiles.lst 97B
createdFiles.lst 89B
createdFiles.lst 84B
createdFiles.lst 79B
inputFiles.lst 0B
createdFiles.lst 0B
inputFiles.lst 0B
inputFiles.lst 0B
inputFiles.lst 0B
HELP.md 310B
HELP.md 310B
HELP.md 310B
mvnw 10KB
mvnw 10KB
mvnw 9KB
org.eclipse.jdt.core.prefs 243B
org.eclipse.m2e.core.prefs 90B
.project 581B
maven-wrapper.properties 218B
maven-wrapper.properties 218B
pom.properties 121B
pom.properties 120B
pom.properties 119B
maven-wrapper.properties 116B
com.itmayiedu.springcloudeurekaserver.SpringcloudEurekaServerApplicationTests.txt 4KB
TEST-com.itmayiedu.springcloudeurekaserver.SpringcloudEurekaServerApplicationTests.xml 88KB
workspace.xml 33KB
workspace.xml 18KB
workspace.xml 18KB
workspace.xml 10KB
workspace.xml 10KB
uiDesigner.xml 9KB
uiDesigner.xml 9KB
uiDesigner.xml 9KB
uiDesigner.xml 9KB
uiDesigner.xml 9KB
misc.xml 5KB
misc.xml 5KB
pom.xml 2KB
共 627 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
当时明月plus
- 粉丝: 41
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- (源码)基于SimPy和贝叶斯优化的流程仿真系统.zip
- (源码)基于Java Web的个人信息管理系统.zip
- (源码)基于C++和OTL4的PostgreSQL数据库连接系统.zip
- (源码)基于ESP32和AWS IoT Core的室内温湿度监测系统.zip
- (源码)基于Arduino的I2C协议交通灯模拟系统.zip
- coco.names 文件
- (源码)基于Spring Boot和Vue的房屋租赁管理系统.zip
- (源码)基于Android的饭店点菜系统.zip
- (源码)基于Android平台的权限管理系统.zip
- (源码)基于CC++和wxWidgets框架的LEGO模型火车控制系统.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功