spring boot thymeleaf 报 找不到模板

启动类如下:

   @ RestController
@SpringBootApplication
public class ExampleSpringBoot extends WebMvcConfigurerAdapter{
public static void main(String[] args) {
SpringApplication.run(ExampleSpringBoot.class, args);
}

}


始终报错找不到模板html

后来用spring-boot :run启动后 不再报错。

谁能告诉我为啥

猜你喜欢

转载自blog.csdn.net/guorun18/article/details/79665441