Loading

Missing message for key "xxx" in bundle "(default bundle)" for locale zh_CN

参考文章http://programmerslounge.blogspot.com/2013/03/error-missing-message-for-key.html

 

错误的struts-config.xml配置:

<message-resources parameter="pkg.ApplicationResources.properties"/>

解决方法,将上述parameter属性中的.properties后缀去掉:

<message-resources parameter="pkg.ApplicationResources"/>

经测试,包名去掉后也会异常。(不知道为什么参考文章中去掉包名仍可运行)

posted @ 2018-11-25 16:54  wincent98  阅读(1216)  评论(0编辑  收藏  举报