SpringBoot ModelAndView 出现404
在做SpringBoot的项目中,我的SpringBoot的项目版本为2.x.x,使用Freemake模板的文件名ftl,在使用ModelAndView返回界面中的出现404。SpringBoot2.x.x的版本默认为ftlh,所以把文件后缀名改为.ftlh,我的问题就得到了解决问题。
在做SpringBoot的项目中,我的SpringBoot的项目版本为2.x.x,使用Freemake模板的文件名ftl,在使用ModelAndView返回界面中的出现404。SpringBoot2.x.x的版本默认为ftlh,所以把文件后缀名改为.ftlh,我的问题就得到了解决问题。