阅读背景:

解决BeanNotOfRequiredTypeException: Bean named 'XXX' must be of type XXX, but was actually of type XXX问题

来源:互联网 

  Java新手,困扰了一下午。

  发布时总是报这样一个错误。

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'XXX': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'XXX'org.sp



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: