2016-04-27 3 views
0

Dans la version 2.1.20 erreur se produit et jsf le projet augmente PASJe suis en train de mettre en œuvre le Lapis JSF Exportateur utiliser PrimeFaces 5.3

Abr 26, 2016 5:29:21 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks GRAVE: The web application [] created a ThreadLocal with key of type [javax.faces.context.FacesContext$1] (value [[email protected]]) and a value of type [org.apache.myfaces.context.servlet.StartupFacesContextImpl] (value [[email protected]09a]) 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

Dans la version 2.1.28 jsf du projet et l'utilisation du JSF Lapis Exportateur se produit erreur:

java.lang.UnsupportedOperationException

Fonte: https://github.com/rdicroce/jsfexporter

Répondre

0

Après vérification, j'ai identifié dans mon fichier pom.xml utilisait les locaux MyFaces "api et impl" w Avec "api et impl" JSF est un conflit, après avoir supprimé le travail de dépendances jsf.

MY pom.xml ...

<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> 

commentaire ou supprimer ...

<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>