如果出现上述的页面问题,,那就是springboot的国际化的路径有问题, 如果你的路径是这样写的话。就会出现上面的问题。
spring.messages.basename=i18n/login
在国际化的配置文件上再新建一个文件夹,
像上面一样,
spring.messages.basename=i18n/login/login
就可以准确找到国际化的文件了