解决Constructor threw exception; nested exception is java.lang.NoClassDefFoundError:
Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/boot/actuate/health/OrderedHealthAggregatorpom.xml缺少jar或者存在同名jar2.@EnableFeignClients是微服务 通过En...
·
- Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/boot/actuate/health/OrderedHealthAggregator
pom.xml缺少jar或者存在同名jar
2.@EnableFeignClients是
微服务 通过EnableFeignClients调用其他服务的api
pom.xml需要配置
<!--引入zuul依赖:-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-zuul</artifactId>
<version>1.4.0.RELEASE</version>
</dependency>
更多推荐
已为社区贡献1条内容
所有评论(0)