"Unknow enter persistent pool at position X" in tomcat logs since java 8

I have a Java JSF2 web application deployed on a Tomcat server, and since we switched to Java 8 / Tomcat 8, this error appears on the tomcat output:

déc. 05, 2016 10:51:07 AM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation GRAVE: Unknow type constant pool 0 at position 178 

I tried various things to fix this warning, but it always returns.

Is this journal a symptom of a problem? Is this just a normal way out? Is there any way to fix this?

+6
source share
2 answers

I presented the same problem

Today I updated my pom.xml file to jsf version: 2.2.15 and this ERROR log is gone.

 <dependency> <groupId>com.sun.faces</groupId> <artifactId>jsf-api</artifactId> <version>${jsf.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.sun.faces</groupId> <artifactId>jsf-impl</artifactId> <version>${jsf.version}</version> <scope>provided</scope> </dependency> 
+1
source

From my research, it turned out that this was a mistake in the JSF implementation and was fixed in the JSF version version 2.3.0-m02

Reported errors: https://java.net/jira/browse/JAVASERVERFACES-3732 https://java.net/jira/browse/JAVASERVERFACES-3776

Where to get fixed versions of the JSF implementation http://repo1.maven.org/maven2/javax/faces/javax.faces-api/2.2/ http://repo1.maven.org/maven2/org/glassfish/javax.faces/ 2.3.0-m02 /

Or update the maven maven dependency from (2.3.0-m02 or higher):

 <groupId>org.glassfish</groupId> <artifactId>javax.faces</artifactId> <version>2.3.0-m02</version> 
+3
source

Source: https://habr.com/ru/post/1012892/


All Articles