“Unknow type constant pool at position X” in tomcat logs since java 8

前端 未结 3 1722
别那么骄傲
别那么骄傲 2021-01-05 02:57

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



        
3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-05 03:52

    From my research it appears that this was a bug in JSF implementation and was fixed in JSF version 2.3.0-m02

    Reported Bugs: http://github.com/javaserverfaces/mojarra/issues/3736 https://github.com/javaserverfaces/mojarra/issues/3780

    Where to obtain 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 maven POM dependency with (2.3.0-m02 or higher):

    org.glassfish
    javax.faces
    2.3.0-m02
    

提交回复
热议问题