4 Replies Latest reply on Jun 20, 2017 4:04 PM by Shankar Sea

    Logger implementation class org.infinispan.cdi.remote.logging.RemoteLog_$logger has no matching constructor

    Shankar Sea Novice

      Getting the following error when deploying in wildfly:

       

      2017-06-13 16:54:04,487 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."sample.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."sample.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "sample.war"

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)

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

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

        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)

      Caused by: java.lang.ExceptionInInitializerError

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at org.jboss.as.weld.deployment.WeldPortableExtensions.tryRegisterExtension(WeldPortableExtensions.java:53)

        at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.loadAttachments(WeldPortableExtensionProcessor.java:121)

        at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.deploy(WeldPortableExtensionProcessor.java:81)

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)

        ... 5 more

      Caused by: java.lang.IllegalArgumentException: Logger implementation class org.infinispan.cdi.remote.logging.RemoteLog_$logger has no matching constructor

        at org.jboss.logging.Logger$1.run(Logger.java:2562)

        at java.security.AccessController.doPrivileged(Native Method)

        at org.jboss.logging.Logger.getMessageLogger(Logger.java:2529)

        at org.jboss.logging.Logger.getMessageLogger(Logger.java:2516)

        at org.infinispan.commons.logging.LogFactory.getLog(LogFactory.java:18)

        at org.infinispan.cdi.remote.InfinispanExtensionRemote.<clinit>(InfinispanExtensionRemote.java:39)

        ... 14 more

       

      Logger implementation class org.infinispan.cdi.util.logging.Log_$logger has no matching constructor on startup?

       

      Looked at that thread and added the cdi module, but still get the error.