我正在尝试使用 PrimeFaces 5.3 实现 Lapis JSF Exporter
I'm trying to implement the Lapis JSF Exporter use PrimeFaces 5.3
2.1.20版本出现jsf错误,Project NOT rise
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] (value [javax.faces.context.FacesContext@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
在2.1.28版本jsf项目上去使用JSF Lapis Exporter出现错误:
java.lang.UnsupportedOperationException
经过验证,我确定我的pom.xml文件中使用的前提是“api和impl”MyFaces与“api和impl”JSF冲突,删除后jsf 依赖项工作。
我的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>
发表评论或删除...
<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>
2.1.20版本出现jsf错误,Project NOT rise
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] (value [javax.faces.context.FacesContext@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
在2.1.28版本jsf项目上去使用JSF Lapis Exporter出现错误:
java.lang.UnsupportedOperationException
经过验证,我确定我的pom.xml文件中使用的前提是“api和impl”MyFaces与“api和impl”JSF冲突,删除后jsf 依赖项工作。
我的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>
发表评论或删除...
<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>