Error using lapis JSF Exporter

0

I'm trying to implement the Lapis JSF Exporter I use PrimeFaces 5.3

In version jsf version 2.1.20 error occurs and the project does not go up ...

  

Apr 26, 2016 5:29:21 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks   The javax.faces.context.FacesContext $ 1 (value [javax.faces.context.FacesContext$1@1e0429c3]) and a value of type [org.apache.myfaces .context.servlet.StartupFacesContextImpl] (value [org.apache.myfaces.context.servlet.StartupFacesContextImpl@2351d09a]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

In the version jsf version 2.1.28 the project goes up and when using Lapis JSF Exporter error occurs:

  

java.lang.UnsupportedOperationException

Source: link

    
asked by anonymous 26.04.2016 / 22:23

1 answer

0

After checking, I identified that my pom.xml file was using the "api and impl" dependencies of myfaces together with the "api and impl" of JSF conflicts occur, after removing the dependencies of the jsf worked.

EX: POM file

  <dependency>
        <groupId>org.apache.myfaces.core</groupId>
        <artifactId>myfaces-api</artifactId>
        <version>${myfaces.version}</version>
    </dependency>

    <dependency>
        <groupId>org.apache.myfaces.core</groupId>
        <artifactId>myfaces-impl</artifactId>
        <version>${myfaces.version}</version>
    </dependency>

COMMENT THAT PART ......

    <dependency>
        <groupId>com.sun.faces</groupId>
        <artifactId>jsf-api</artifactId>
        <version>2.1.28</version>
    </dependency>

    <dependency>
        <groupId>com.sun.faces</groupId>
        <artifactId>jsf-impl</artifactId>
        <version>2.1.28</version>
    </dependency>

.................

    
28.04.2016 / 20:24