You have a problem in the location config of your message.properties file.
If the file is located under the WEB-INF/classes directory, then the Spring config should be :
And the name of the file should be either :
messages.properties
messages_en.properties
messages_en_GB.properties
遇到类似的问题,参照上面的解决办法,添加properties文件。我报的是no message found under code ‘action.create’ for locale ‘en’,于是再添加一个messages_en.properties文件。
产生这样问题的原因初步定位到环境的原因,具体的后续再深入分析。