所以SpringBoot的启动类最好是放在root package下,因为默认不指定basePackages
https://blog.csdn.net/qq_28289405/article/details/81302498