第一次 搭建spring boot 項目404

     網上搭建spring boot的教程很多,隨便查找一個搭建試試,果不其然出現了404!     新建controller做測試,發現請求404.          於是網上查看資料,可能是controller初始化失敗,沒有掃描到該controller註解,然後又去翻閱官方的資料。發現SpringBootApplication註解雖然相當於spring的三個註解之和, @EnableAu
相關文章
相關標籤/搜索