@ComponentScan(basePackages={"abc.xyz","pos.loc"}) 转载于:https://www.cnblogs.com/ShaneSun/p/10247030.html