title: PrimeFaces css not working
body: <p>I'm configuring a project with primefaces 3.3.1 and Myfaces 2.1.1. I run an simple example of showcase, but this example show text only, without CSS content. I see any examples using manually import of the css on  in xhtml, but I think that it no is a good way.</p>
  
  <p>pom.xml:</p>
  
  <pre><code>  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.myfaces.core&lt;/groupId&gt;
          &lt;artifactId&gt;myfaces-api&lt;/artifactId&gt;
          &lt;version&gt;2.1.1&lt;/version&gt;
          &lt;type&gt;jar&lt;/type&gt;
          &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.myfaces.core&lt;/groupId&gt;
          &lt;artifactId&gt;myfaces-impl&lt;/artifactId&gt;
          &lt;version&gt;2.1.1&lt;/version&gt;
          &lt;type&gt;jar&lt;/type&gt;
          &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency
  
      &lt;!-- Primefaces dependency --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.primefaces&lt;/groupId&gt;
          &lt;artifactId&gt;primefaces&lt;/artifactId&gt;
          &lt;version&gt;3.3.1&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- Themes PrimeFaces --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.primefaces.themes&lt;/groupId&gt;
          &lt;artifactId&gt;bluesky&lt;/artifactId&gt;
          &lt;version&gt;1.0.6&lt;/version&gt;
      &lt;/dependency&gt;
    &lt;/dependencies&gt;
  
    &lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;prime-repo&lt;/id&gt;
          &lt;name&gt;PrimeFaces Maven Repository&lt;/name&gt;
          &lt;url&gt;http://repository.primefaces.org&lt;/url&gt;
          &lt;layout&gt;default&lt;/layout&gt;
      &lt;/repository&gt;
     &lt;/repositories&gt;
  </code></pre>
  
  <p>WebContent/WEB-INF/Web.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
  id="WebApp_ID" version="3.0"&gt;
  &lt;display-name&gt;meu-projeto&lt;/display-name&gt;
  
  &lt;servlet&gt;
      &lt;servlet-name&gt;HelloServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;br.com.meuprojeto.servlet.HelloServlet&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;HelloServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.teste&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;HelloServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/HelloServlet&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  
  &lt;session-config&gt;
      &lt;session-timeout&gt;30&lt;/session-timeout&gt;    &lt;!-- 30 minutes --&gt;
  &lt;/session-config&gt;
  
  
  &lt;welcome-file-list&gt;
      &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
  &lt;/welcome-file-list&gt;
  
  &lt;servlet&gt;
      &lt;servlet-name&gt;Faces Servlet&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;Faces Servlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.jsf&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  
  &lt;context-param&gt;
      &lt;param-name&gt;primefaces.THEME&lt;/param-name&gt;
      &lt;param-value&gt;bluesky&lt;/param-value&gt;
  &lt;/context-param&gt;
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p>My Page:</p>
  
  <pre><code>&lt;html xmlns="http://www.w3c.org/1999/xhtml"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:p="http://primefaces.prime.com.tr/ui"&gt;
  &lt;h:head&gt;
  &lt;/h:head&gt;
  &lt;h:body&gt;
  &lt;h:form id="form"&gt;
  
      &lt;p:panel header="Enter your passwords"&gt;
          &lt;h:panelGrid columns="2"&gt;
              &lt;h:outputText value="Basic: " /&gt;
              &lt;p:password id="nonFeedback" value="" /&gt;
          &lt;/h:panelGrid&gt;
      &lt;/p:panel&gt;
  
      &lt;p:spacer height="10" /&gt;
  
      &lt;p:panel header="Match Mode"&gt;
          &lt;p:messages id="messages" showDetail="true" autoUpdate="true" /&gt;
          &lt;p:commandButton id="saveButton" update="matchGrid" value="Save" /&gt;
      &lt;/p:panel&gt;
  
  &lt;/h:form&gt;
  
  &lt;/h:body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Then did  Project > Properties > Deployment Assembly > Add > Java build path entries and add all jars. So, in Library project have all jars.</p>