File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes No taglib found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "No taglib found" Watch "No taglib found" New topic

No taglib found

Andre Froes

Joined: Oct 13, 2010
Posts: 18
Hey everyone, I'm getting a message here : Warning: This page calls for XML namespace declared with prefix p but no taglibrary exists for that namespace
same goes for html tag <h2>

how can I remove this or get this regular?
is there anyhow to use regular html taglib without getting this xml message?
Stefan Evans

Joined: Jul 06, 2005
Posts: 1580
Is this caused be a taglib using a prefix p (eg <p:taglibExample/>), or an actual

If the former, then you need to declare the taglibrary in your page. eg <%@ taglib uri="http://com.mycompany/my/taglib" prefix="p"%>

If the latter, then I'm not 100% sure what can cause this.

Where are you seeing this message?
In your browser?
Is this a warning/message from your IDE?
Is it compile time? runtime error?
Can you give us an example?
What sort of file are you writing?
Are you writing html documents in strict xml syntax ie xhtml?

Andre Froes

Joined: Oct 13, 2010
Posts: 18
try this and see what happens please:

on top menu, you'll see the option "O Esporte"
the only 2 links working are "Historia" and "Barcos"

check to see if it appears to you
I agree. Here's the link:
subject: No taglib found
jQuery in Action, 3rd edition