title: MyFaces clash with GlassFish 3.1 native JSF
body: <p>I'm using MyFaces with Trinidad. The following SEVERE message keeps coming on startup:</p>
  
  <pre><code>SEVERE: Both MyFaces and the RI are on your classpath. 
  Please make sure to use only one of the two JSF-implementations.
  </code></pre>
  
  <p>I have the following in my <code>glassfish-web.xml</code>:</p>
  
  <pre><code>&lt;glassfish-web-app error-url=""&gt;
      &lt;class-loader delegate="false"/&gt;
      &lt;property name="useMyFaces" value="true"/&gt;
  &lt;/glassfish-web-app&gt;
  </code></pre>
  
  <p>And the following JARs in classpath:</p>
  
  <pre class="lang-none prettyprint-override"><code>antlr-2.7.6.jar*                        hibernate3.jar*
  cglib-2.2.2.jar                         javassist-3.9.0.GA.jar*
  commons-beanutils-1.8.3.jar             jta-1.1.jar*
  commons-collections-3.1.jar*            junit-4.9.jar
  commons-collections-3.2.jar             myfaces-api-2.1.2.jar
  commons-digester-1.8.jar                myfaces-commons-utils20-1.0.1.jar
  commons-digester3-3.0.jar               myfaces-components20-1.0.1.jar
  commons-logging-1.1.1.jar               myfaces-converters20-1.0.1.jar
  commons-validator-1.3.1.jar             myfaces-impl-2.1.2.jar
  cssparser-0.9.5.jar                     myfaces-validators20-1.0.1.jar
  dom4j-1.6.1.jar*                        mysql-connector-java-5.0.8-bin.jar
  ejb3-persistence.jar*                   slf4j-api-1.5.10.jar*
  hibernate-annotations.jar*              slf4j-ext-1.5.10.jar*
  hibernate-commons-annotations.jar*      slf4j-simple-1.5.10.jar*
  hibernate-entitymanager.jar             trinidad-api-2.0.0.jar
  hibernate-jpa-2.0-api-1.0.0.Final.jar   trinidad-build-2.0.0-sources.jar
  hibernate-validator-4.2.0.Final.jar     trinidad-impl-2.0.0.jar
  </code></pre>
  
  <p>I'm not quite sure how to eliminate the SEVERE message based on the configuration I've already done, any thoughts would be appreciated!</p>