title: Warning: This page calls for XML namespace http://primefaces.org/ui declared with prefix p but no taglibrary exists for that namespace
body: <p>Allways when I deploy my JSF Project on the GL-Server (4.1), I get the message: Warning: This page calls for XML namespace <a href="http://primefaces.org/ui" rel="nofollow">http://primefaces.org/ui</a> declared with prefix p but no taglibrary exists for that namespace</p>
  
  <p><a href="http://s29.postimg.org/km7nd8b47/primefaces.png" rel="nofollow">http://s29.postimg.org/km7nd8b47/primefaces.png</a></p>
  
  <p>I tried almost everrything: Create a new Project, delete GL-Server, reinstall Maven, clean the Project with eclipse and so on.</p>
  
  <p>I belive there must be a configuration error in my Project. At the beginning everything worked fine, but then this error occured. I could solve it for a while by creating of a new Project, but the error came again (Is it because I selectet JPA in the project facets or something else?)</p>
  
  <p>Here is my pom.xml</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" 
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
           http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.saphirwerk&lt;/groupId&gt;
      &lt;artifactId&gt;configurator&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;name&gt;configurator&lt;/name&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax&lt;/groupId&gt;
              &lt;artifactId&gt;javaee-api&lt;/artifactId&gt;
              &lt;version&gt;7.0&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;version&gt;4.12&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-entitymanager&lt;/artifactId&gt;
              &lt;version&gt;4.3.6.Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
              &lt;version&gt;4.3.6.Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-annotations&lt;/artifactId&gt;
              &lt;version&gt;3.5.6-Final&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
              &lt;version&gt;1.5.6&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hsqldb&lt;/groupId&gt;
              &lt;artifactId&gt;hsqldb&lt;/artifactId&gt;
              &lt;version&gt;2.3.2&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
      &lt;build&gt;
          &lt;finalName&gt;configurator&lt;/finalName&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>My startpage:</p>
  
  <pre><code>&lt;ui:composition template="/template.xhtml"
      xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"&gt;
  
      &lt;ui:define name="header"&gt;
          &lt;h1&gt;#{texts.titleIndex}&lt;/h1&gt;
      &lt;/ui:define&gt;
  
      &lt;ui:define name="content"&gt;
          &lt;h:panelGrid styleClass="selectionHome" columns="2"&gt;
  
              &lt;h:panelGrid styleClass="selectionHome" columns="2"&gt;
                  &lt;p:link outcome="searchStd"&gt;
                      &lt;p:graphicImage name="images/feeler/Taster-sketch-1_Ohne.png"
                          width="400" height="180" title="#{texts.buttonStd}" /&gt;
                  &lt;/p:link&gt;
                  &lt;p:link outcome="searchStd2"&gt;
                      &lt;p:graphicImage name="images/feeler/Taster-sketch-2_Ohne.png"
                          width="400" height="180" /&gt;
                  &lt;/p:link&gt;
  
                  &lt;p:outputLabel value="#{texts.buttonStd}" /&gt;
                  &lt;p:outputLabel value="#{texts.buttonStd2}" /&gt;
  
                  &lt;p:link outcome="searchPin"&gt;
                      &lt;p:graphicImage name="images/feeler/Taster-sketch-4_Ohne.png"
                          width="400" height="180" /&gt;
                  &lt;/p:link&gt;
                  &lt;p:link outcome="searchPin2"&gt;
                      &lt;p:graphicImage name="images/feeler/Taster-sketch-5_Ohne.png"
                          width="400" height="180" /&gt;
                  &lt;/p:link&gt;
  
                  &lt;p:outputLabel value="#{texts.buttonPin}" /&gt;
                  &lt;p:outputLabel value="#{texts.buttonPin2}" /&gt;
  
                  &lt;p:link outcome="searchZylinder"&gt;
                      &lt;p:graphicImage name="images/feeler/Taster-sketch-6_Ohne.png"
                          width="400" height="180" /&gt;
                  &lt;/p:link&gt;
                  &lt;p:link outcome="searchPlate"&gt;
                      &lt;p:graphicImage name="images/feeler/Taster-sketch-7_Ohne.png"
                          width="400" height="180" /&gt;
                  &lt;/p:link&gt;
  
                  &lt;p:outputLabel value="#{texts.buttonPin}" /&gt;
                  &lt;p:outputLabel value="#{texts.buttonPlate}" /&gt;
  
                  &lt;p:link outcome="searchHollow"&gt;
                      &lt;p:graphicImage name="images/feeler/Taster-sketch-8_Ohne.png"
                          width="400" height="180" /&gt;
                  &lt;/p:link&gt;
                  &lt;p:link outcome="searchStar"&gt;
                      &lt;p:graphicImage name="images/feeler/Taster-sketch-9_Ohne.png"
                          width="400" height="180" title="#{texts.buttonStar}" /&gt;
                  &lt;/p:link&gt;
  
                  &lt;p:outputLabel value="#{texts.buttonHollow}" /&gt;
                  &lt;p:outputLabel value="#{texts.buttonStar}" /&gt;
              &lt;/h:panelGrid&gt;
          &lt;/h:panelGrid&gt;
  
      &lt;/ui:define&gt;
  
  &lt;/ui:composition&gt;
  </code></pre>
  
  <p>The themplate</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='UTF-8' ?&gt;
  &lt;!DOCTYPE html&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui"&gt;
  
  &lt;h:head&gt;
      &lt;title&gt;SAPHIRWERK AG&lt;/title&gt;
      &lt;h:outputStylesheet name="/style.css" /&gt;
  &lt;/h:head&gt;
  
  &lt;h:body&gt;
      &lt;div id="container"&gt;
          &lt;div id="center"&gt;
              &lt;ui:insert name="center"&gt;
                  &lt;div id="header"&gt;
                      &lt;ui:insert name="header"&gt;&lt;/ui:insert&gt;
                  &lt;/div&gt;
                  &lt;div id="menu"&gt;
                      &lt;ui:insert name="menu"&gt;
                          &lt;ui:include src="/menu.xhtml" /&gt;
                      &lt;/ui:insert&gt;
                  &lt;/div&gt;
                  &lt;div id="content"&gt;
                      &lt;ui:insert name="content"/&gt;
                  &lt;/div&gt;
              &lt;/ui:insert&gt;
          &lt;/div&gt;
          &lt;div id="left"&gt;
              &lt;ui:insert name="left"/&gt;
          &lt;/div&gt;
          &lt;div id="right"&gt;
              &lt;ui:insert name="right"/&gt;
          &lt;/div&gt;  
      &lt;/div&gt;
  &lt;/h:body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And at least the web.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app version="3.0"
           xmlns="http://java.sun.com/xml/ns/javaee"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
           http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"&gt;
  
      &lt;display-name&gt;Konfigurator Saphirwerk AG&lt;/display-name&gt;
  
      &lt;servlet&gt;
          &lt;servlet-name&gt;FacesServlet&lt;/servlet-name&gt;
          &lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;/servlet-class&gt;
          &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
      &lt;/servlet&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;FacesServlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;*.xhtml&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
      &lt;welcome-file-list&gt;
          &lt;welcome-file&gt;index.xhtml&lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
  
      &lt;context-param&gt;
          &lt;param-name&gt;javax.faces.PROJECT_STAGE&lt;/param-name&gt;
          &lt;param-value&gt;Development&lt;/param-value&gt;
      &lt;/context-param&gt;
      &lt;context-param&gt;
          &lt;param-name&gt;javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL&lt;/param-name&gt;
          &lt;param-value&gt;TRUE&lt;/param-value&gt;
      &lt;/context-param&gt;
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p>Thank you for your answers. Please tell me, if you need more informations.</p>