springboot 整合springmvc

導包 在pom.xml文件中導入SpringBoot web啓動的starter 在pom.xml中引入thymeleaf的starter == 注:如果牽涉到頁面跳轉,必須先集成thymeleaf,否則會報404錯誤== 引入靜態資源 SpringBoot以 webjars jar包的方式引入靜態資源 webjars 官網:https://www.webjars.com/ 我們可以在官網中找到對
相關文章
相關標籤/搜索