I'm using apache-tomee-jaxrs-1.7.1 and I'm trying to deploy with maven 3 getting this error:
Unable to load servlet listener class: com.sun.faces.config.ConfigureListener:
These are my dependencies in pom.xml:
  ...
  <dependencies>
    <dependency>
      <groupId>javax</groupId>
      <artifactId>javaee-api</artifactId>
      <version>6.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>javax.servlet.jsp.jstl</groupId>
      <artifactId>jstl-api</artifactId>
      <version>1.2</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.openjpa</groupId>
      <artifactId>openjpa</artifactId>
      <version>2.3.0</version>
    </dependency>
  </dependencies>
  ...
Any ideas? Thanks in advance.
                        
Simply get rid of the in the exception mentioned
<listener>entry in webapp'sweb.xml.TomEE ships with MyFaces, not Mojarra. That Mojarra-specific
<listener>entry inweb.xmlis usually auto-included by some IDEs trying to be smarter than they are and/or left behind in poor quality open source projects. Be careful on them. That explicit registration is unnecessary on decent containers. See also a.o. Configuration of com.sun.faces.config.ConfigureListener.