I'm using Wildfly 8.2. If I change these log levels to DEBUG in standalone.xml:
...
<profile>
<subsystem xmlns="urn:jboss:domain:logging:2.0">
<console-handler name="CONSOLE">
<level name="DEBUG"/>
...
...
<root-logger>
<level name="DEBUG"/>
...
...
I get these exception on startup:
FINE [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-6)
java.lang.NoSuchMethodException: org.jboss.as.jsf.injection.JandexAnnotationProvider.<init>(javax.servlet.ServletContext, com.sun.faces.spi.AnnotationProvider): java.lang.NoSuchMethodException: org.jboss.as.jsf.injection.JandexAnnotationProvider.<init>(javax.servlet.ServletContext, com.sun.faces.spi.AnnotationProvider)
at java.lang.Class.getConstructor0(Class.java:3069) [rt.jar:1.8.0_20]
at java.lang.Class.getDeclaredConstructor(Class.java:2165) [rt.jar:1.8.0_20]
at com.sun.faces.spi.ServiceFactoryUtils.getProviderFromEntry(ServiceFactory.java:83) [jsf-impl-2.2.8-jbossorg-1.jar:]
at com.sun.faces.spi.AnnotationProviderFactory.createAnnotationProvider(AnnotationProviderFactory.java:70) [jsf-impl-2.2.8-jbossorg-1.jar:]
...
...
It looks like it's missing this constructor: JandexAnnotationProvider(javax.servlet.ServletContext, com.sun.faces.spi.AnnotationProvider)
The API states that (http://www.docjar.com/docs/api/com/sun/faces/spi/AnnotationProvider.html)
"Custom AnnotationProviders can be used to decorate the default AnnotationProvider by providing a constructor that takes an AnnotationProvider as the second parameter:
public AnnotationProvider(ServletContext sc, AnnotationProvider parent)
"
Has anyone encountered this issue? How do you fix it?