[问题描述] @EnableAsync annotation metadata was not injected spring配置初始化时候报错 nested exception is java.lang.IllegalArgumentException:@EnableAsync annotation metadata was not injected 详情信息如下: 警告: Exception encountered during context initialization - cancel…
问题描述 Spring Cloud Feign调用其它服务报错,错误提示如下:Failed to instantiate [java.util.List]: Specified class is an interface. 解决方案 通过查询一些资料,得到的结论,是定义接口传递的参数时,没有用@RequestBody修饰,查看定义接口有用@RequestBogy修饰,Feign的接口实现里没有用@RequestBody修饰,添加后问题就解决了,以后还是要仔细看待每个问题.…