Springboot This application has no explicit mapping for /error, so you are seeing this as a fallback

出現這個異常:頁面訪問url的時候,不能進入到controller中spring Application啓動類的位置不對.要將Application類放在最外側,即包含全部子包  緣由:spring-boot會自動加載啓動類所在包下及其子包下的全部組件. spring-boot
相關文章
相關標籤/搜索