解決: This application has no explicit mapping for /error, so you are seeing this as a fallback.

報錯如題,出現這個異常說明了跳轉頁面的url無對應的值.html 緣由1: Application啓動類的位置不對.要將Application類放在最外側,即包含全部子包  緣由:spring-boot會自動加載啓動類所在包下及其子包下的全部組件.spring 緣由2: 在springboot的配置文件:application.yml或application.properties中關於視圖解析器的
相關文章
相關標籤/搜索