欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

spring boot jst 模板报404 There was an unexpected error (type=Not Found, status=404).

程序员文章站 2022-07-14 23:00:06
...

 start with application in Intellij IDEA 2017.*


jsp as template view


there is an error   as the title return.


spring boot jst 模板报404 There was an unexpected error (type=Not Found, status=404). 

use bing.com tosearch  not baidu! this is very import!


https://*.com/questions/28922248/spring-boot-basic-jsp-404-not-found/45266147#45266147



and in high level version ,the application.properties file look like following:

spring.mvc.view.prefix=/WEB-INF/jsp/
spring.mvc.view.suffix=.jsp

not 
spring.view.prefix=/WEB-INF/jsp/
spring.view.suffix=.jsp
ok?
there is 3 char 'mvc'