title: NoClassDefFoundError: org/primefaces/model/StreamedContent
body: <p>Im using wildfly and primefaces 5.1, project was working fine, i restarted the app and i've suddenly got this error, any help please...</p>
  
  <pre><code>Caused by: java.lang.NoClassDefFoundError: org/primefaces/model/StreamedContent
      at java.lang.Class.getDeclaredConstructors0(Native Method) [rt.jar:1.8.0_45]
      at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) [rt.jar:1.8.0_45]
      at java.lang.Class.getConstructor0(Unknown Source) [rt.jar:1.8.0_45]
      at java.lang.Class.getConstructor(Unknown Source) [rt.jar:1.8.0_45]
      at org.jboss.as.jsf.deployment.JSFManagedBeanProcessor.deploy(JSFManagedBeanProcessor.java:101)
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
      ... 5 more
  </code></pre>
  
  <p>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;ProjetMaven&lt;/groupId&gt;
    &lt;artifactId&gt;ProjetMaven&lt;/artifactId&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
    &lt;packaging&gt;war&lt;/packaging&gt;
    &lt;dependencies&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;org.hibernate.javax.persistence&lt;/groupId&gt;
      &lt;artifactId&gt;hibernate-jpa-2.0-api&lt;/artifactId&gt;
      &lt;version&gt;1.0.1.Final&lt;/version&gt;
  &lt;/dependency&gt;
   &lt;dependency&gt;
      &lt;groupId&gt;org.hibernate.javax.persistence&lt;/groupId&gt;
      &lt;artifactId&gt;hibernate-jpa-2.1-api&lt;/artifactId&gt;
      &lt;version&gt;1.0.0.Final&lt;/version&gt;
  &lt;/dependency&gt;
              &lt;dependency&gt;
              &lt;groupId&gt;org.omnifaces&lt;/groupId&gt;
              &lt;artifactId&gt;omnifaces&lt;/artifactId&gt;
              &lt;version&gt;2.0&lt;/version&gt;
          &lt;/dependency&gt;
  
  &lt;dependency&gt;
      &lt;groupId&gt;mysql&lt;/groupId&gt;
      &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
      &lt;version&gt;5.1.18&lt;/version&gt;
  &lt;/dependency&gt;
  
      &lt;groupId&gt;net.htmlparser.jericho&lt;/groupId&gt;
      &lt;artifactId&gt;jericho-html&lt;/artifactId&gt;
      &lt;version&gt;3.3&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
          &lt;groupId&gt;javax.faces&lt;/groupId&gt;
          &lt;artifactId&gt;jsf-api&lt;/artifactId&gt;
          &lt;version&gt;2.1&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;dependency&gt;
  &lt;groupId&gt;org.primefaces&lt;/groupId&gt;
  &lt;artifactId&gt;primefaces&lt;/artifactId&gt;
  &lt;version&gt;5.1&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.primefaces.themes&lt;/groupId&gt;
      &lt;artifactId&gt;bootstrap&lt;/artifactId&gt;
      &lt;version&gt;1.0.10&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;javax.ejb&lt;/groupId&gt;
      &lt;artifactId&gt;javax.ejb-api&lt;/artifactId&gt;
      &lt;version&gt;3.2&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>