摘要:
springboot启动时报WARN的警告,报错内容:Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration) 启动之后 阅读全文
posted @ 2019-05-23 13:44
一天到晚想名字
阅读(2682)
评论(0)
推荐(0)
摘要:
使用templates模板,已经在controller中,将变量的赋值了,但是html页面中,还是显示红色警告,cannot resolve xxx...。在运行时不会报错,如果看着不舒服,可以加上注解就可以了,使用Alt+回车,就能自动生成注解 模板文件: <!DOCTYPE html> <htm 阅读全文
posted @ 2019-05-23 11:17
一天到晚想名字
阅读(708)
评论(0)
推荐(0)