启动 ** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package. 解决:根据提示,SpringBoot启动类放置目录不正确,报该错时,我的启动类是直接放在java路径下,没有放在程序根包下。 错误示例: 正确示例 相关文章: 2022-12-23 2022-12-23 2021-05-27 2021-12-04 2021-09-25 2021-11-26 2021-09-17 2021-04-08