注解 springbootapplication 自动扫描所在包及其子包。会将有注解的加入到spring容器中 注解 springbootapplication 自动扫描所在包及其子包。会将有注解的加入到spring容器中的相关教程结束。