lang.NoClassDefFoundError: Failed to link org/apache/http/conn/ssl/ TrustStrategy (Module from Service Module Loader): org/apache/http/ssl/ TrustStrategy

Google Groups | Lukas Stampf | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    KieScanner not working with wildfly 10

    Google Groups | 7 months ago | Lukas Stampf
    lang.NoClassDefFoundError: Failed to link org/apache/http/conn/ssl/ TrustStrategy (Module from Service Module Loader): org/apache/http/ssl/ TrustStrategy

    Root Cause Analysis

    1. lang.NoClassDefFoundError

      Failed to link org/apache/http/conn/ssl/ TrustStrategy (Module from Service Module Loader): org/apache/http/ssl/ TrustStrategy

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
    2. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[rt.jar:1.8.0_102]
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[rt.jar:1.8.0_102]
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[rt.jar:1.8.0_102]
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)[rt.jar:1.8.0_102]
      4 frames
    3. JBoss Modules
      ConcurrentClassLoader.loadClass
      1. org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:446)[jboss-modules.jar:1.5.1.Final]
      2. org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)[jboss-modules.jar:1.5.1.Final]
      3. org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:78)[jboss-modules.jar:1.5.1.Final]
      4. org.jboss.modules.Module.loadModuleClass(Module.java:605)[jboss-modules.jar:1.5.1.Final]
      5. org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)[jboss-modules.jar:1.5.1.Final]
      6. org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)[jboss-modules.jar:1.5.1.Final]
      7. org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)[jboss-modules.jar:1.5.1.Final]
      8. org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)[jboss-modules.jar:1.5.1.Final]
      8 frames
    4. Java RT
      Class.getDeclaredFields
      1. java.lang.Class.getDeclaredFields0(Native Method)[rt.jar:1.8.0_102]
      2. java.lang.Class.privateGetDeclaredFields(Class.java:2583)[rt.jar:1.8.0_102]
      3. java.lang.Class.getDeclaredFields(Class.java:1916)[rt.jar:1.8.0_102]
      3 frames
    5. Google Guice - Core Library
      InjectionPoint.forInstanceMethodsAndFields
      1. com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:675)[guice-4.1.0.jar:]
      2. com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:380)[guice-4.1.0.jar:]
      2 frames
    6. org.eclipse.sisu
      DependencyAnalyzer.visit
      1. org.eclipse.sisu.wire.DependencyAnalyzer.analyzeImplementation(DependencyAnalyzer.java:223)[org.eclipse.sisu.inject-0.3.0.M1.jar:]
      2. org.eclipse.sisu.wire.DependencyAnalyzer.visit(DependencyAnalyzer.java:155)[org.eclipse.sisu.inject-0.3.0.M1.jar:]
      3. org.eclipse.sisu.wire.DependencyAnalyzer.visit(DependencyAnalyzer.java:1)[org.eclipse.sisu.inject-0.3.0.M1.jar:]
      3 frames
    7. Google Guice - Core Library
      ProviderInstanceBindingImpl.acceptTargetVisitor
      1. com.google.inject.internal.ProviderInstanceBindingImpl.acceptTargetVisitor(ProviderInstanceBindingImpl.java:62)[guice-4.1.0.jar:]
      1 frame
    8. org.eclipse.sisu
      ElementAnalyzer.visit
      1. org.eclipse.sisu.wire.ElementAnalyzer.visit(ElementAnalyzer.java:176)[org.eclipse.sisu.inject-0.3.0.M1.jar:]
      2. org.eclipse.sisu.wire.ElementAnalyzer.visit(ElementAnalyzer.java:1)[org.eclipse.sisu.inject-0.3.0.M1.jar:]
      2 frames
    9. Google Guice - Core Library
      BindingImpl.acceptVisitor
      1. com.google.inject.internal.BindingImpl.acceptVisitor(BindingImpl.java:93)[guice-4.1.0.jar:]
      1 frame
    10. org.eclipse.sisu
      WireModule.configure
      1. org.eclipse.sisu.wire.WireModule.configure(WireModule.java:77)[org.eclipse.sisu.inject-0.3.0.M1.jar:]
      1 frame
    11. Google Guice - Core Library
      Guice.createInjector
      1. com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340)[guice-4.1.0.jar:]
      2. com.google.inject.spi.Elements.getElements(Elements.java:110)[guice-4.1.0.jar:]
      3. com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138)[guice-4.1.0.jar:]
      4. com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)[guice-4.1.0.jar:]
      5. com.google.inject.Guice.createInjector(Guice.java:99)[guice-4.1.0.jar:]
      6. com.google.inject.Guice.createInjector(Guice.java:73)[guice-4.1.0.jar:]
      7. com.google.inject.Guice.createInjector(Guice.java:62)[guice-4.1.0.jar:]
      7 frames
    12. Plexus
      DefaultPlexusContainer.<init>
      1. org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:481)[org.eclipse.sisu.plexus-0.3.0.M1.jar:]
      2. org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:206)[org.eclipse.sisu.plexus-0.3.0.M1.jar:]
      3. org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:168)[org.eclipse.sisu.plexus-0.3.0.M1.jar:]
      3 frames
    13. KIE :: CI
      MavenPomModelGenerator.parse
      1. org.kie.scanner.embedder.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:166)[kie-ci-6.4.0.Final.jar:6.4.0.Final]
      2. org.kie.scanner.embedder.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:140)[kie-ci-6.4.0.Final.jar:6.4.0.Final]
      3. org.kie.scanner.embedder.PlexusComponentProvider.<init>(PlexusComponentProvider.java:37)[kie-ci-6.4.0.Final.jar:6.4.0.Final]
      4. org.kie.scanner.embedder.MavenEmbedderUtils.buildComponentProvider(MavenEmbedderUtils.java:56)[kie-ci-6.4.0.Final.jar:6.4.0.Final]
      5. org.kie.scanner.embedder.MavenEmbedder.<init>(MavenEmbedder.java:81)[kie-ci-6.4.0.Final.jar:6.4.0.Final]
      6. org.kie.scanner.embedder.MavenEmbedder.<init>(MavenEmbedder.java:75)[kie-ci-6.4.0.Final.jar:6.4.0.Final]
      7. org.kie.scanner.embedder.MavenProjectLoader.newMavenEmbedder(MavenProjectLoader.java:66)[kie-ci-6.4.0.Final.jar:6.4.0.Final]
      8. org.kie.scanner.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:53)[kie-ci-6.4.0.Final.jar:6.4.0.Final]
      9. org.kie.scanner.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:49)[kie-ci-6.4.0.Final.jar:6.4.0.Final]
      10. org.kie.scanner.MavenPomModelGenerator.parse(MavenPomModelGenerator.java:33)[kie-ci-6.4.0.Final.jar:6.4.0.Final]
      10 frames
    14. Drools :: Compiler
      AbstractKieModule.getJarDependencies
      1. org.drools.compiler.kproject.xml.PomModel$Parser.parse(PomModel.java:110)[drools-compiler-6.4.0.Final.jar:6.4.0.Final]
      2. org.drools.compiler.kie.builder.impl.AbstractKieModule.getPomModel(AbstractKieModule.java:427)[drools-compiler-6.4.0.Final.jar:6.4.0.Final]
      3. org.drools.compiler.kie.builder.impl.AbstractKieModule.getJarDependencies(AbstractKieModule.java:129)[drools-compiler-6.4.0.Final.jar:6.4.0.Final]
      3 frames
    15. KIE :: CI
      MavenClassLoaderResolver.getClassLoader
      1. org.kie.scanner.MavenClassLoaderResolver.getClassLoader(MavenClassLoaderResolver.java:65)[kie-ci-6.4.0.Final.jar:6.4.0.Final]
      1 frame
    16. Drools :: Compiler
      KieBuilderImpl.buildKieModule
      1. org.drools.compiler.kie.builder.impl.KieModuleKieProject.<init>(KieModuleKieProject.java:68)[drools-compiler-6.4.0.Final.jar:6.4.0.Final]
      2. org.drools.compiler.kie.builder.impl.KieModuleKieProject.<init>(KieModuleKieProject.java:56)[drools-compiler-6.4.0.Final.jar:6.4.0.Final]
      3. org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildKieModule(KieBuilderImpl.java:222)[drools-compiler-6.4.0.Final.jar:6.4.0.Final]
      3 frames
    17. KIE :: CI
      KieRepositoryScannerImpl.loadArtifact
      1. org.kie.scanner.KieRepositoryScannerImpl.build(KieRepositoryScannerImpl.java:221)[kie-ci-6.4.0.Final.jar:6.4.0.Final]
      2. org.kie.scanner.KieRepositoryScannerImpl.buildArtifact(KieRepositoryScannerImpl.java:171)[kie-ci-6.4.0.Final.jar:6.4.0.Final]
      3. org.kie.scanner.KieRepositoryScannerImpl.loadArtifact(KieRepositoryScannerImpl.java:127)[kie-ci-6.4.0.Final.jar:6.4.0.Final]
      4. org.kie.scanner.KieRepositoryScannerImpl.loadArtifact(KieRepositoryScannerImpl.java:122)[kie-ci-6.4.0.Final.jar:6.4.0.Final]
      4 frames
    18. Drools :: Compiler
      KieCDIExtension.afterBeanDiscovery
      1. org.drools.compiler.kie.builder.impl.KieRepositoryImpl.loadKieModuleFromMavenRepo(KieRepositoryImpl.java:130)[drools-compiler-6.4.0.Final.jar:6.4.0.Final]
      2. org.drools.compiler.kie.builder.impl.KieRepositoryImpl.getKieModule(KieRepositoryImpl.java:116)[drools-compiler-6.4.0.Final.jar:6.4.0.Final]
      3. org.drools.compiler.kie.builder.impl.KieRepositoryImpl.getKieModule(KieRepositoryImpl.java:93)[drools-compiler-6.4.0.Final.jar:6.4.0.Final]
      4. org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:115)[drools-compiler-6.4.0.Final.jar:6.4.0.Final]
      5. org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:111)[drools-compiler-6.4.0.Final.jar:6.4.0.Final]
      6. org.drools.compiler.cdi.KieCDIExtension.afterBeanDiscovery(KieCDIExtension.java:287)[drools-compiler-6.4.0.Final.jar:6.4.0.Final]
      6 frames
    19. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.8.0_102]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[rt.jar:1.8.0_102]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.8.0_102]
      4. java.lang.reflect.Method.invoke(Method.java:498)[rt.jar:1.8.0_102]
      4 frames
    20. Weld Implementation
      WeldBootstrap.deployBeans
      1. org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88)[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
      2. org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144)[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
      3. org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:309)[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
      4. org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:124)[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
      5. org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:287)[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
      6. org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:265)[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
      7. org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:271)[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
      8. org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:260)[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
      9. org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:154)[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
      10. org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:148)[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
      11. org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
      12. org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:42)[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
      13. org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.fire(AfterBeanDiscoveryImpl.java:61)[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
      14. org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:423)[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
      15. org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:83)[weld-core-impl-2.3.2.Final.jar:2.3.2.Final]
      15 frames
    21. Weld
      WeldStartService.start
      1. org.jboss.as.weld.WeldStartService.start(WeldStartService.java:95)
      1 frame
    22. JBoss Modular Service Container
      ServiceControllerImpl$StartTask.run
      1. org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
      2. org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
      2 frames
    23. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[rt.jar:1.8.0_102]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[rt.jar:1.8.0_102]
      3. java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_102]
      3 frames