Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.问题:由于默认包的@组件扫描,您的应用程序上下文不太可能启动。 Application.class文件所在位置有问题,导致上下文无法启动检查扫描的包路径是否有问题,是否扫描同等级目录