开发错误日志之No matching bean of type [xxx] found for dependency

9/6/2015来源:Java教程人气:2685

开发错误日志之No matching bean of type [xxx] found for dependency

No matching bean of type [org.sPRingframework.data.mongodb.core.MongoTemplate] found for dependency

原因是Spring配置中扫描未检测到注入Bean

No matching bean of type [xxx] found for dependency以后类似异常可参考