参考资料: http://www.mamicode.com/info-detail-2101273.html https://blog.csdn.net/u012834750/article/details/65942092 错误提示: ** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package// 警告:你的应用上下文可能没有启动,因为你将…
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 原因: springboot启动时会自动注入数据源和配置jpa 解决: 在@SpringBootApplication中排除其注入 exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfigurat…