`

Spring奇葩异常

 
阅读更多
今天遇到了一个奇葩的错误
spring 使用map定义一个bean,总是报一个无法找到注入的候选bean的错误

原因见
http://developer.51cto.com/art/201603/507718.htm

使用@resource代替@autowire就可以使用了

spring的版本是spring-xx-3.2.8.RELEASE
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics