title: Primefaces in Intellij do not show
body: <p>I am trying to get Primefaces to work in IntelliJ. I have the ultimate edition (15.0.5) that supports web development and normal JSF works without problems when running on Wildfly 10.</p>
  
  <p>When I create a new project I select Primefaces and it downloads the binary and places it in the lib/ directory. I add xmlns:p="http://primefaces.org/ui" to the index.xhtml and code completion works for Primefaces (I add a  just for testing).</p>
  
  <p>Other questions on this topic have said to add </p>
  
  <pre><code>&lt;servlet-mapping&gt;
     &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
     &lt;url-pattern&gt;*.xhtml&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>And this is already the case when I create a new web project. </p>
  
  <p>The code I try to run is as follows:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:h="http://xmlns.jcp.org/jsf/html"
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
        xmlns:f="http://xmlns.jcp.org/jsf/core"
        xmlns:p="http://primefaces.org/ui"&gt;
     &lt;f:view&gt;
        &lt;h:outputLabel value="Hello, world"/&gt;&lt;br/&gt;
        &lt;p:editor /&gt;
     &lt;/f:view&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When looking at the source in the web browser I get this:</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:p="http://primefaces.org/ui"&gt;&lt;label&gt;Hello, world&lt;/label&gt;&lt;br /&gt;
        &lt;p:editor&gt;&lt;/p:editor&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>So for some reason that I am unable to find out, Primefaces are not found. I have searched for an answer, and followed tutorials, but I have not found anything that helps me with this.</p>
  
  <p>Everything works flawlessly when I create a project using Eclipse instead, but I would rather use IntelliJ...</p>
  
  <p>Lastly, I am running IntelliJ on Ubuntu 15.10 using Oracle's Java.</p>
  
  <p>Any ideas?</p>