摘要: 关于component-scan操作(去除,失效) 这个spring中的配置项,可以扫描我们对应的包下面的类,自动把带上@component,@service,@controller, @repository的类加入spring容器中托管 注意哦,component-scan 会默认吧annotat 阅读全文
posted @ 2018-04-24 22:56 cutter_point 阅读(164) 评论(0) 推荐(0)