0 Replies Latest reply on Oct 29, 2017 6:12 PM by Tomáš Potok

    Failed to define class org.picketlink.identity.federation.bindings.wildfly.sp.SPServletExtension in Module "org.picketlink.federation.bindings:main"

    Tomáš Potok Newbie

      Hello,

      I tried deploying jboss-picketlink-quickstarts (namely "picketlink-federation-saml-sp-post-with-signature") on Wildfly 10.1.0 and 11.0.0 with Picketlink upgraded to 2.7.1 (using picketlink-installer-2.7.1.Final.zip).

       

      I am getting the following exception. Any hint would be appreciated. Thanks.

       

      Running on:

      Windows 7 (same Exception on Ubuntu Linux)

      c:\>java -version

      java version "1.8.0_141"

      Java(TM) SE Runtime Environment (build 1.8.0_141-b15)

      Java HotSpot(TM) 64-Bit Server VM (build 25.141-b15, mixed mode)

       

       

      22:59:14,033 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "picketlink-federation-saml-sp-post-with-signature-wildfly.war" (runtime-name: "picketlink-federation-saml-sp-post-with-signature-wildfly.war")

      22:59:14,136 WARN  [org.jboss.modules] (ServerService Thread Pool -- 65) Failed to define class org.picketlink.identity.federation.bindings.wildfly.sp.SPServletExtension in Module "org.picketlink.federation.bindings" from local module loader @17d99928 (finder: local module finder @3834d63f (roots: W:\wildfly-11.0.0.Final\modules,W:\wildfly-11.0.0.Final\modules\system\layers\base)): org.jboss.modules.ModuleLoadError: org.jboss.common-core

              at org.jboss.modules.ModuleLoadException.toError(ModuleLoadException.java:74)

              at org.jboss.modules.Module.getPathsUnchecked(Module.java:1559)

              at org.jboss.modules.Module.loadModuleClass(Module.java:708)

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)

              at java.lang.ClassLoader.defineClass1(Native Method)

              at java.lang.ClassLoader.defineClass(ClassLoader.java:763)

              at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:358)

              at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:437)

              at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)

              at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:77)

              at org.jboss.modules.Module.loadModuleClass(Module.java:713)

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)

              at java.lang.Class.forName0(Native Method)

              at java.lang.Class.forName(Class.java:348)

              at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:370)

              at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)

              at java.util.ServiceLoader$1.next(ServiceLoader.java:480)

              at io.undertow.servlet.core.DeploymentManagerImpl.handleExtensions(DeploymentManagerImpl.java:261)

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

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

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

              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:1149)

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

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

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