解决 spring NoSuchMessageException: No message found under code ... for locale

1. 检查资源路径



classpath:[b]/i18n[/b]/Common/messagesComm
classpath:[b]/i18n[/b]/Accident/messagesAcdnt




2. 检查如下配置应该放入全局spring context 配置文件,而非spring mvc 配置文件中

你可能感兴趣的:(解决 spring NoSuchMessageException: No message found under code ... for locale)