spring boot 开静态资源访问,配置视图解析器

配置视图解析器
spring.mvc.view.prefix=/pages/
spring.mvc.view.suffiix=

spring boot 开静态资源访问
application.proerties
spring.mvc.static-path-pattern=/static/**

原文地址:https://www.cnblogs.com/gzhbk/p/9664463.html