No TagLibrary associated with the PrimeFaces namespace

I found a similar question here , but it doesn't help me anymore. However, I faced the same problem. I get the following error when launching my application:

Warning. The page /template/common.xhtml declares the namespace and uses the p: panel tag, but there is no TagLibrary associated with the namespace.

Below is a snippet of my index.xhtml:

<ui:composition template="/template/common.xhtml"

    <ui:define name="profile">    


And this is how my common.xhtml file looks like (not putting all the content, just namespaces and 1-2 lines):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
<html xmlns=""
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Welcome to my website</title>
    <h:outputStylesheet library="css" name="default.css" />
    <div id="header" style="margin: auto; width: 80%;">


As described by BalusC here , you need to define xmlns = "". I'm doing the same thing. that is, the second line of the index.xhtml file does the same. but still i am getting error.


source to share

1 answer


PrimeFaces 3.x JAR file is missing in your webapp folder. Download and leave it there. Or, if you are using PrimeFaces 2.x, you should use the following XML namespace instead:



This other question is not about tags <p:xxx>

, but simple HTML tags like <title>

, <div>

etc. It's just a coincidence that in the case of this other question <input>

is put inside a <p:panel>



All Articles