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

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

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

猜你喜欢

转载自www.cnblogs.com/gzhbk/p/9664463.html