No qualifying bean of type 无法注入这种类型的bean
之前在搭建Maven+Spring+SpringMVC+Mybatis+Mysql项目时,在测试Spring和Mybatis时一直在报一个错误:
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.CacheAwareContextL...
原创
2016-05-27 08:51:16 ·
1213 阅读 ·
0 评论