配置国际化的时候一直报错
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.context.MessageSource]: Factory method 'messageSource' threw exception with message: No message found under code 'user.verification.expire' for locale 'zh_CN'.
各种解决方案都试过了还是不行,突然发现编译的时候i18n文件夹没有编译进去
解决方法,在pom.xml配置里面配置一下