【解决问题】Springboot 启动报错:FactoryBean threw exception on object creation; nested exception is java.lang.

Springboot项目整合了Feign,一直都启动好好的,加了几个接口后准备测试时就启动不了了,一直报以下错误:

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.ks.feign.xxxFeign': FactoryBean threw exception on object creation; nested exception is java.lang.UnsupportedOperationException

【解决问题】Springboot 启动报错:FactoryBean threw exception on object creation; nested exception is java.lang._第1张图片

value值缺少一致报错
加上value就好了

你可能感兴趣的:(idea,常见问题,java,spring,boot)