com.sun.faces.config.ConfigurationException

CONFIGURATION FAILED! Class org.jboss.as.jsf.injection.JandexAnnotationProvider is not an instance of com.sun.faces.spi.AnnotationProvider

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web11

  • Stack trace

    • com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Class org.jboss.as.jsf.injection.JandexAnnotationProvider is not an instance of com.sun.faces.spi.AnnotationProvider at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:376)[jsf-impl-2.1.28.jar:2.1.28] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:216)[jsf-impl-2.1.28.jar:2.1.28] at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1] at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156)[jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14] at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)[jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14] at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)[jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[rt.jar:1.6.0_32] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[rt.jar:1.6.0_32] at java.util.concurrent.FutureTask.run(FutureTask.java:138)[rt.jar:1.6.0_32] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[rt.jar:1.6.0_32] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[rt.jar:1.6.0_32] at java.lang.Thread.run(Thread.java:662)[rt.jar:1.6.0_32] at org.jboss.threads.JBossThread.run(JBossThread.java:122) Caused by: javax.faces.FacesException: Class org.jboss.as.jsf.injection.JandexAnnotationProvider is not an instance of com.sun.faces.spi.AnnotationProvider at com.sun.faces.spi.AnnotationProviderFactory.createAnnotationProvider(AnnotationProviderFactory.java:78)[jsf-impl-2.1.28.jar:2.1.28] at com.sun.faces.config.ConfigManager$AnnotationScanTask.<init>(ConfigManager.java:805)[jsf-impl-2.1.28.jar:2.1.28] at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:349)[jsf-impl-2.1.28.jar:2.1.28] ... 13 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.