java.lang.IllegalStateException : Could not find backup for factory javax.faces.context.FacesContextFactory

前端 未结 3 1527
攒了一身酷
攒了一身酷 2020-12-03 17:29

I created my hello world JSF project, but when I deploy to Tomcat 7, I get this exception:

java.lang.IllegalStateException: Could not find backup for factory         


        
3条回答
  •  猫巷女王i
    2020-12-03 18:23

    Need to changed the weblogic-application.xml of the ear project to

    
    
    
        
            org.opensaml.*
            org.slf4j.*
            antlr.*        
        
        
            javax.faces.*
            com.sun.faces.*
            com.bea.faces.*
            META-INF/services/javax.servlet.ServletContainerInitializer
            META-INF/services/com.sun.faces.spi.FacesConfigResourceProvider
        
    
    

    Follwoing jar version numbers must match exactly:

    • javax.faces-2.x.x.jar
    • jsf-api-2.x.x.jar
    • jsf-impl-2.x.x.jar

提交回复
热议问题