开发者

NLS missing message: CANNOT_FIND_FACELET_TAGLIB

I am getting this warning in Eclipse:

NLS missing message: CANNOT_FIND_FACELET_TAGLIB in: org.eclipse.jst.jsf.core.validation.internal.facelet.messages ICEfacesPage1.xhtml /myapp/src/main/webapp

On the following lines:

xmlns:ui="http://java.su开发者_高级运维n.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?


This is an Eclipse quirk. Try one of the following things:

  • Close/reopen project.
  • Rightclick project > Validate.
  • Project > Clean... and clean selected project.
  • Restart Eclipse.


This was also the case when I imported a JSP taglib, for example:

<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


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).

I created a New ICEface Facelets Composition Page using the page creation wizard.

NLS missing message: CANNOT_FIND_FACELET_TAGLIB

After creating the page, I got the same warning message.

NLS missing message: CANNOT_FIND_FACELET_TAGLIB

I checked the the index.xhtml that was generated out of the box when I created my ICEfaces application and there's a discrepancy.

NLS missing message: CANNOT_FIND_FACELET_TAGLIB

Changing my new page ns from www.icesoft.org to www.icefaces.org made the warning disappear.

NLS missing message: CANNOT_FIND_FACELET_TAGLIB

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜