Springboot啓動報錯 Your ApplicationContext is unlikely to start due to a @ComponentScan of the default

** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package. Springboot項目啓動報錯 原因是啓動類不能直接放在src/main/java包下,需要在java包下新建一級目錄 目錄結構圖如下
相關文章
相關標籤/搜索