简体   繁体   English

glassfish服务器上的“找不到基本名称消息包,语言环境ar_EG”例外是什么?

[英]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 : 要点:

  • I'm not handling any Location or language issues cause the project doesn't need this. 我没有处理任何位置或语言问题,因为该项目不需要它。
  • just faces-config.xml have <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.

相关问题 java.util.MissingResourceException:找不到基本名称消息的bundle,locale en_US - java.util.MissingResourceException: Can't find bundle for base name messages, locale en_US YuiCompressorTask:“无法找到基本名称org.mozilla.javascript.resources.Messages,locale en_US的包” - YuiCompressorTask: “Can't find bundle for base name org.mozilla.javascript.resources.Messages, locale en_US” java.util.MissingResourceException:找不到基本名称消息包,语言环境en_US Floreant POS - java.util.MissingResourceException: Can't find bundle for base name messages, locale en_US Floreant POS “无法找到基本名称消息的包”错误 - “Can't find bundle for base name messages” error 找不到基本名称 /Bundle 的包,语言环境 en_US - Can't find bundle for base name /Bundle, locale en_US 找不到基本名称为org.fife.ui.rsyntaxtextarea.RSyntaxTextArea,语言环境sv_SE的捆绑软件 - Can't find bundle for base name org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, locale sv_SE java.util.MissingResourceException:找不到基本名称视图,语言环境的捆绑包 - java.util.MissingResourceException: Can't find bundle for base name views, locale en 无法使用 ResourceBundle.getBundle() 加载 ResourceBundle 找不到基本名称的包,区域设置 en_US - Unable to load ResourceBundle with ResourceBundle.getBundle() Can't find bundle for base name , locale en_US java.util.MissingResourceException:找不到基本名称为ResBundle的包,语言环境为en_GB - java.util.MissingResourceException: Can't find bundle for base name ResBundle, locale en_GB MissingResourceException:找不到基本名称资源的捆绑包。controls.controls_res,语言环境 - MissingResourceException: Can't find bundle for base name resources.controls.controls_res, locale en
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM