• Spring 开启Annotation 诠释及区别

    时间:2022-02-25 06:48:44

    <context:annotation-config>和<context:component-scan>的区别<context:annotation-config>是用于激活那些已经在spring容器里注册过的bean(无论是通过xml的方式还是通过package...