title: Primefaces could not load PanelMenu component
body: <p>I am using primefaces in my project. When I used the component  in one of the .xhtml page I am getting the following error message : </p>
  
  <p>" Tag Library supports namespace: <a href="http://primefaces.org/ui" rel="nofollow">http://primefaces.org/ui</a>, but no tag was defined for name: panelMenu" </p>
  
  <p>I am using the primefaces 3.3.1 jar . </p>
  
  <p>Code snippet:</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"
      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;Welcome to OTV_JSF_Spring_Hibernate_Project&lt;/title&gt;
  &lt;style type="text/css"&gt;
  h1{
      font-family:"Times New Roman";
      font-size:7px;
    }
  
  pre{
      font-family:"Times New Roman";
      font-size:25px;
      font-style:bold;
      align:center;
  }
  &lt;/style&gt;
  &lt;/h:head&gt;
  &lt;h:body&gt;
      &lt;h:form&gt;
  
           &lt;p:layout style="min-width:300px;min-height:700px;" id="layout"&gt;  
               &lt;p:layoutUnit position="east" resizable="true" size="300" minSize="40" maxSize="300"&gt;  
                 &lt;p:panelMenu style="width:200px"&gt;  
                       &lt;p:submenu label="Create Form"&gt;  
                          &lt;p:menuitem value="New Form" actionListener="" icon="ui-icon-disk" /&gt;  
                          &lt;p:menuitem value="Current Form" actionListener=""  icon="ui-icon-arrowrefresh-1-w" /&gt;  
                          &lt;p:menuitem value="Form Templates" actionListener=""  icon="ui-icon-arrowrefresh-1-w" /&gt;
                       &lt;/p:submenu&gt;  
  
                  &lt;p:submenu label="Publish Form" &gt;  
                      &lt;p:menuitem value="Home" actionListener=""  ajax="false" icon="ui-icon-close"/&gt;  
                      &lt;p:menuitem value="Docs" actionListener=""  ajax="false" icon="ui-icon-close"/&gt;  
                  &lt;/p:submenu&gt;  
                   &lt;p:submenu label="Users Profile"&gt;  
                           &lt;p:menuitem value="Add New User" actionListener=""  ajax="false" icon="ui-icon-close"/&gt;  
                           &lt;p:menuitem value="Edit User Profile" actionListener=""  ajax="false" icon="ui-icon-close"/&gt;
                           &lt;p:menuitem value="Remove Users" actionListener=""  ajax="false" icon="ui-icon-close"/&gt;
                           &lt;p:menuitem value="View Users Report" actionListener=""  ajax="false" icon="ui-icon-close"/&gt;
                       &lt;/p:submenu&gt;  
                  &lt;p:separator /&gt;  
  
              &lt;/p:panelMenu&gt;   
         &lt;/p:layoutUnit&gt;  
  
           &lt;p:layoutUnit position="center"&gt;  
           &lt;h1&gt;&lt;font size = "6"&gt;&lt;h:outputLabel for="createform" value="Create New Form"/&gt;&lt;/font&gt;&lt;/h1&gt;
           &lt;hr width="98%"&gt;&lt;/hr&gt;
               &lt;table&gt; 
  
               &lt;tr&gt;
                  &lt;td width="30%"&gt;&lt;pre&gt;&lt;h:outputLabel for="name" value="Name of the form : " /&gt;&lt;/pre&gt;&lt;/td&gt;
                  &lt;td align="left"&gt;&lt;p:inputText id="name" value="#{questionMB.formName}" label="Name of the form"&gt;
                  &lt;/p:inputText&gt;
                      &lt;p:message id="formMsg" for="name" display="icon"/&gt; 
  
                  &lt;/td&gt;
               &lt;/tr&gt;   
                &lt;tr&gt;
                  &lt;td width="30%"&gt;&lt;pre&gt;&lt;h:outputLabel for="desc" value="Description of the form : " /&gt;&lt;/pre&gt;&lt;/td&gt;
                  &lt;td align="left"&gt;&lt;p:inputTextarea rows="4" cols="60" value="#{questionMB.formDesc}"/&gt;
                  &lt;/td&gt;
               &lt;/tr&gt;            
               &lt;tr&gt;
                &lt;td width="30%"&gt;&lt;pre&gt;&lt;h:outputLabel for="question" value="Question : " /&gt;&lt;/pre&gt;&lt;/td&gt;
                  &lt;td align="left"&gt;
                      &lt;p:accordionPanel&gt;  
      &lt;p:tab title="Godfather Part I"&gt;  
          &lt;h:panelGrid columns="2" cellpadding="10"&gt;  
  
             &lt;p:inputText id="question" value="#{questionMB.questionText}"&gt;
                          &lt;f:validateLength minimum="5" /&gt; 
                          &lt;p:ajax event="blur" update="questionMsg" /&gt;
                      &lt;/p:inputText&gt;
                      &lt;p:message id="questionMsg" for="question" display="icon"/&gt; 
          &lt;/h:panelGrid&gt;  
      &lt;/p:tab&gt;  
     &lt;/p:accordionPanel&gt;
                  &lt;/td&gt; 
               &lt;/tr&gt;
                &lt;tr&gt;
                  &lt;td width="30%"&gt;&lt;pre&gt;&lt;h:outputLabel for="answer" value="Answer Type : " /&gt;&lt;/pre&gt;&lt;/td&gt;
                  &lt;td align="center"&gt;
        &lt;h:panelGrid columns="2" rows="1" style="margin-bottom:10px" cellpadding="5"&gt;  
              &lt;p:selectOneRadio id="options" value="#{questionMB.answerType}"&gt;  
              &lt;f:selectItem itemLabel="Text field" itemValue="Text field" /&gt;  
              &lt;f:selectItem itemLabel="Combo box" itemValue="Combo box" /&gt;  
              &lt;f:selectItem itemLabel="Radio button" itemValue="Radio button" /&gt;  
              &lt;f:selectItem itemLabel="Check box" itemValue="Check box" /&gt;
              &lt;f:selectItem itemLabel="Date box" itemValue="Date box" /&gt; 
              &lt;f:selectItem itemLabel="Y/N Button" itemValue="Y/N Button" /&gt;
               &lt;/p:selectOneRadio&gt;  
       &lt;/h:panelGrid&gt;  
                  &lt;/td&gt;
               &lt;/tr&gt;
               &lt;tr&gt;&lt;/tr&gt;&lt;tr&gt;&lt;/tr&gt;&lt;tr&gt;&lt;/tr&gt;
  
               &lt;tr&gt;
                  &lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;p:commandButton id="addNewQuestion" value="Add New Question" action="#{questionMB.addNewQuestion}" ajax="true"/&gt;
                 &lt;/td&gt;
               &lt;/tr&gt; 
               &lt;tr&gt;
                  &lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;p:commandButton id="addQuestion" value="Save" action="#{questionMB.addQuestion}" ajax="true"/&gt;
                  &lt;p:commandButton id="submitQuestion" value="Submit" action="#{questionMB.saveandsubmitForm}" ajax="false"/&gt;&lt;/td&gt;
               &lt;/tr&gt;
               &lt;/table&gt; 
           &lt;/p:layoutUnit&gt;  
  &lt;/p:layout&gt;   
  
  
      &lt;/h:form&gt;
  &lt;/h:body&gt;
  
  &lt;/html&gt;
  </code></pre>