SpringBoot踩坑记

启动 ** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package. 解决:根据提示,SpringBoot启动类放置目录不正确,报该错时,我的启动类是直接放在java路径下,没有放在程序根包下。 错误示例: 正确示例
相关文章
相关标签/搜索