[英]What is “Can't find bundle for base name messages, locale ar_EG” exception on glassfish server?
Overview This is calculator Web application On IBM Website about JavaServer Faces Tutorial. 概述这是IBM网站上有关JavaServer Faces教程的计算器Web应用程序。 I'm writing this application like the auditor exactly said . 我正在写这个应用程序,就像审核员说的那样。
Points : 要点:
<message-bundle>messages</message-bundle>
. 只是faces-config.xml具有<message-bundle>messages</message-bundle>
。 any hint to solve the problem , thanks 任何解决问题的提示,谢谢
According to the exception message and the <message-bundle>
configuration, at least the following files are missing in the classpath. 根据异常消息和<message-bundle>
配置,在类路径中至少缺少以下文件。 The first two are not required, the last one is. 前两个不是必需的,最后一个是必需的。
messages_ar_EG.properties
(contains country specific text) messages_ar_EG.properties
(包含国家/地区特定文本) messages_ar.properties
(contains language specific text) messages_ar.properties
(包含特定于语言的文本) messages.properties
(contains default localized text) messages.properties
(包含默认的本地化文本) Either provide them, or if you don't want to provide custom messages at all, then just remove the whole <message-bundle>
entry. 提供它们,或者如果您根本不想提供自定义消息,则只需删除整个<message-bundle>
条目。 JSF will then use the builtin messages. 然后,JSF将使用内置消息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.