SpringBoot项目跳转页面出错

xiaoxiao2021-02-28  41

刚搭建好springboot项目的时候,使用controller的modelandview来跳转到resources下的html页面的时候,报404.

添加freemarker后,然后更名为.ftl后可以跳转。

具体原因不知道,反正搞了一上午,烦死我了

原文:http://blog.maptoface.com/post/16

转载请注明原文地址: https://www.6miu.com/read-2612751.html

最新回复(0)