This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes JSF and the fly likes XML namespace problem in JSF 2.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "XML namespace problem in JSF 2.0" Watch "XML namespace problem in JSF 2.0" New topic

XML namespace problem in JSF 2.0

Jhon Ortiz

Joined: May 28, 2009
Posts: 16
Hi all!

I'm following JSF 2.0 (, now I'm located at ui:repeat and Handling Variable-Length Data ( in the example: I have a problem with a XML namespace: xmlns:utils="" in Eclipse. This is warning message in the editor:

NLS missing message: CANNOT_FIND_FACELET_TAGLIB in: org.eclipse.jst.jsf.core.validation.internal.facelet.messages

I have checked JSTL JSF implementations, and they are included in the project:

I have tried: replace libraries, copy and paste the entire example, reload the project, restart Eclipse, etc., but the problem persists.

Can you give me some orientation about this issue?

Note: I'm using JBoss Tools 3.

Thanks in advance.

John Ortiz
Jhon Ortiz

Joined: May 28, 2009
Posts: 16
Someone can help me with this issue? Thanks in advance.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17144

I found a whole forum thread consisting of people asking each other what is and where to find it.

After a lot of digging around, I've come to the conclusion that it isn't actually a standard Java tag library, it is the user-defined tag library that was given a Sun URI. Which in my opinion was a very bad idea, since, as you can see, it confuses people.

Assuming that this is the case, the "tag library" in question is your composite control definition and therefore one of the following is probably causing the error:

1. You forgot to include this file in your project.
2. You put it in the wrong place in your project.
3. You mis-spelled the name of the component file.
4. You spelled the name correctly, but didn't get all of the uppercase/lowercase letters correct. This is most commonly a Windows problem, since the Windows filesystem is case-agnostic, but Java is not.

An IDE is no substitute for an Intelligent Developer.
Jhon Ortiz

Joined: May 28, 2009
Posts: 16
Thanks a lot for your help Tim Halloway,

By default the configuration project searchs for that files or composite components, in WebContent/resources. I have moved that files from a sub-folder (resources) to the root folder, now everything is working.

Thanks again for your support.

John Ortiz
I agree. Here's the link:
subject: XML namespace problem in JSF 2.0
It's not a secret anymore!