2017年7月28日

spring注解方式 idea报could not autowire

摘要: 在Idea的spring工程里,经常会遇到Could not autowire. No beans of 'xxxx' type found的错误提示。 但程序的编译和运行都是没有问题的,这个错误提示并不会产生影响。 造成原因是: spring auto scan配置,在编辑情况下,无法找不到对应的 阅读全文

posted @ 2017-07-28 15:09 默默红尘 阅读(374) 评论(0) 推荐(0) 编辑

导航