Error creating bean with name 'fastJsonpResponseBodyAdvice' defined in URL xxx

错误信息: 不满足依赖构造参数

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: 
Error creating bean with name 'fastJsonpResponseBodyAdvice' defined in URL [jar:file:xxx/FastJsonpResponseBodyAdvice.class]: 
Unsatisfied dependency expressed through constructor parameter 0; 
nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: 
No qualifying bean of type 'java.lang.String[]' available: 
expected at least 1 bean which qualifies as autowire candidate. 
Dependency annotations: {}

报错原因:依赖引入问题。 

//原引包

    com.alibaba
    fastjson
    1.2.28

解决方法:更换包就好了


  com.alibaba
  fastjson
  1.2.53

若有问题欢迎大家与我互动交流,如果文章帮到了你,请点小手指。另外,我的博客文章会不定期更新,喜欢的朋友可以加一下关注。

你可能感兴趣的:(错误记录并解决)