eclipse NLS 缺失消息:CANNOT_FIND_FACELET_TAGLIB
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7546219/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
NLS missing message: CANNOT_FIND_FACELET_TAGLIB
提问by Mahmoud Saleh
I am getting this warning in Eclipse:
我在 Eclipse 中收到此警告:
NLS missing message: CANNOT_FIND_FACELET_TAGLIB in: org.eclipse.jst.jsf.core.validation.internal.facelet.messages ICEfacesPage1.xhtml /myapp/src/main/webapp
NLS 丢失消息:CANNOT_FIND_FACELET_TAGLIB 在:org.eclipse.jst.jsf.core.validation.internal.facelet.messages ICEfacesPage1.xhtml /myapp/src/main/webapp
On the following lines:
在以下几行:
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
Any ideas why, and how to solve it?
任何想法为什么,以及如何解决它?
回答by BalusC
This is an Eclipse quirk. Try one of the following things:
这是一个 Eclipse 怪癖。尝试以下操作之一:
- Close/reopen project.
- Rightclick project > Validate.
- Project > Clean...and clean selected project.
- Restart Eclipse.
- 关闭/重新打开项目。
- 右键单击项目 >验证。
- 项目 > 清理...并清理选定的项目。
- 重新启动 Eclipse。
回答by Dieter Hubau
This was also the case when I imported a JSP taglib, for example:
当我导入一个 JSP taglib 时也是如此,例如:
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:fmt="http://java.sun.com/jstl/fmt">
</html>
I closed the project and reopened, and it worked!
我关闭了项目并重新打开,它奏效了!
Eclipse Java EE IDE for Web Developers.
Version: Indigo Service Release 1
Build id: 20110916-0149
回答by BustedSanta
I realize that this is an old post but I hope this may help somebody. I recently installed the ICEfaces plugin (IF-3.3.0-IM-1.3.0-Eclipse-4.3-plugins-B.zip) for Eclipse 4.3 (Kepler).
我意识到这是一个旧帖子,但我希望这可以帮助某人。我最近为 Eclipse 4.3 (Kepler) 安装了 ICEfaces 插件 (IF-3.3.0-IM-1.3.0-Eclipse-4.3-plugins-B.zip)。
I created a New ICEface Facelets Composition Page using the page creation wizard.
我使用页面创建向导创建了一个新的 ICEface Facelets 组合页面。
After creating the page, I got the same warning message.
创建页面后,我收到了相同的警告消息。
I checked the the index.xhtml that was generated out of the box when I created my ICEfaces application and there's a discrepancy.
我检查了创建 ICEfaces 应用程序时开箱即用生成的 index.xhtml 并且存在差异。
Changing my new page ns from www.icesoft.org to www.icefaces.org made the warning disappear.
将我的新页面 ns 从 www.icesoft.org 更改为 www.icefaces.org 使警告消失。