5 Replies Latest reply on Aug 4, 2016 3:19 AM by kot.filemon

    Problem with JSF module

    kot.filemon

      Hi,

       

      while starting WildFly10 I get the expection:

       

      2016-07-25 11:55:37,477 FINE [javax.enterprise.resource.webcontainer.jsf.application] (ServerService Thread Pool -- 228) 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:3082)

      at java.lang.Class.getDeclaredConstructor(Class.java:2178)

      at com.sun.faces.spi.ServiceFactoryUtils.getProviderFromEntry(ServiceFactory.java:83)

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

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

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

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

      at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)

      at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:198)

      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)

      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

      at java.util.concurrent.FutureTask.run(FutureTask.java:266)

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

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

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

      at org.jboss.threads.JBossThread.run(JBossThread.java:320)


      Any ideas how to fix it? Thanks.