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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via https://bugzilla.redhat.com/bugzilla/ by ivassile, 6 months ago
CONFIGURATION FAILED! org.jboss.as.weld.webtier.jsf.WeldApplicationFactory
via Stack Overflow by Anonymous
, 2 years ago
CONFIGURATION FAILED! org.apache.myfaces.context.servlet.StartupFacesContextImpl cannot be cast to com.sun.faces.config.InitFacesContext
via liferay.com by Unknown author, 2 years ago
CONFIGURATION FAILED! WELD-001001 Cannot pass null expressionFactory
via tagwith.com by Unknown author, 2 years ago
CONFIGURATION FAILED! org.apache.myfaces.context.servlet.StartupFacesContextImpl cannot be cast to com.sun.faces.config.InitFacesContext
via liferay.com by Unknown author, 1 year ago
CONFIGURATION FAILED! WELD-001001 Cannot pass null expressionFactory
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)
at com.sun.faces.config.ConfigManager$AnnotationScanTask.(ConfigManager.java:805)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:349)
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777)
at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156)
at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at org.jboss.threads.JBossThread.run(JBossThread.java:122)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.