spring cloud 1.4.5与Fastjson 1.2.1的冲突
< 返回列表时间: 2018-08-03来源:开源中国
HDC调试需求开发(15万预算),能者速来!>>>
项目中添加了fastjson1.2.1依赖以及spring cloud 1.4.5依赖,启动报错;去掉fastjson又能正常启动;其报错主要内容:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.eurekaClient' defined in class path resource [org/springframework/cloud/netflix/eureka/EurekaClientAutoConfiguration$RefreshableEurekaClientConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.netflix.discovery.EurekaClient]: Factory method 'eurekaClient' threw exception; nested exception is java.lang.RuntimeException: Failed to initialize DiscoveryClient!
热门排行