1 Reply Latest reply on Jan 27, 2015 4:59 AM by valsaraj viswanathan

    Issue with JSF 2.2.8 in JBoss AS 7.1.2 - javax.faces.FacesException: Class org.jboss.as.web.deployment.jsf.JandexAnnotationProvider is not an instance of com.sun.faces.spi.AnnotationProvider

    valsaraj viswanathan Master

      SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-5) Critical error during deployment: : com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Class org.jboss.as.web.deployment.jsf.JandexAnnotationProvider is not an instance of com.sun.faces.spi.AnnotationProvider

        at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:449)

        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:221)

        at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)

        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)

        at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

        at java.lang.Thread.run(Thread.java:722)

      Caused by: javax.faces.FacesException: Class org.jboss.as.web.deployment.jsf.JandexAnnotationProvider is not an instance of com.sun.faces.spi.AnnotationProvider

        at com.sun.faces.spi.AnnotationProviderFactory.createAnnotationProvider(AnnotationProviderFactory.java:78)

        at com.sun.faces.config.ConfigManager$AnnotationScanTask.<init>(ConfigManager.java:896)

        at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:381)

        ... 9 more