spring boot 2.0.5 + thymeleaf3 国际化,无法自动加载MessageSource,找不资源文件,页面访问出现问号
首先,需要明确一点,国际化资源文件必须包含默认文件和国家语言文件,且必须:(1)直接放在类路径下(2)或放在resource目录下1、spring boot 添加 thymele3依赖 <!-- 导入 thymeleaf 模板 --> <dependency> <groupId>org.sp...
原创
2018-09-26 13:57:40 ·
8599 阅读 ·
8 评论