0 Replies Latest reply on Sep 11, 2015 5:35 AM by Carlos Rodrigues

    Dependency problem

    Carlos Rodrigues Newbie

      Hello guys,

       

      I am getting the below exception. Did someone experiencing the same?

       

      [JBPM 6.2 embedded]

       

      Error injecting: org.apache.maven.artifact.resolver.DefaultArtifactResolver

      com.google.inject.ProvisionException: Unable to provision, see the following errors:

       

      1) No implementation for org.eclipse.aether.RepositorySystem was bound.

        while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver

       

      1 error

          at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025)

          at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)

          at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)

          at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)

          at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)

          at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)

          at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)

          at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:133)

          at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)

          at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)

          at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)

          at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)

          at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)

          at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)

          at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)

          at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)

          at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)

          at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)

          at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)

          at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)

          at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)

          at org.eclipse.sisu.plexus.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:250)

          at org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:48)

          at org.eclipse.sisu.bean.BeanInjector.injectMembers(BeanInjector.java:52)

          at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:140)

          at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114)

          at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)

          at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:89)

          at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)

          at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:133)

          at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)

          at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87)

          at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)

          at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)

          at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)

          at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)

          at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)

          at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)

          at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)

          at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)

          at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)

          at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)

          at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:133)

          at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)

          at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)

          at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)

          at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)

          at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)

          at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)

          at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)

          at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)

          at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)

          at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)

          at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)

          at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)

          at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)

          at org.eclipse.sisu.plexus.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:250)

          at org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:48)

          at org.eclipse.sisu.bean.BeanInjector.injectMembers(BeanInjector.java:52)

          at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:140)

          at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114)

          at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)

          at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:89)

          at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)

          at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:133)

          at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)

          at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87)

          at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)

          at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)

          at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)

          at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)

          at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)

          at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)

          at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)

          at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)

          at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)

          at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)

          at org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133)

          at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)

          at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)

          at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)

          at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)

          at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)

          at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)

          at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)

          at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)

          at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)

          at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)

          at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)

          at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)

          at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)

          at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)

          at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260)

          at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:252)

          at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:246)

          at org.kie.scanner.embedder.MavenEmbedder.lookup(MavenEmbedder.java:492)

          at org.kie.scanner.embedder.MavenEmbedder.buildMavenExecutionRequest(MavenEmbedder.java:136)

          at org.kie.scanner.embedder.MavenEmbedder.<init>(MavenEmbedder.java:99)

          at org.kie.scanner.embedder.MavenEmbedder.<init>(MavenEmbedder.java:88)

          at org.kie.scanner.embedder.MavenEmbedder.<init>(MavenEmbedder.java:115)

          at org.kie.scanner.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:41)

          at org.kie.scanner.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:35)

          at org.kie.scanner.MavenPomModelGenerator.parse(MavenPomModelGenerator.java:19)

          at org.drools.compiler.kproject.xml.PomModel$Parser.parse(PomModel.java:64)

          at org.drools.compiler.kie.builder.impl.AbstractKieModule.getPomModel(AbstractKieModule.java:367)

          at org.drools.compiler.kie.builder.impl.AbstractKieModule.getJarDependencies(AbstractKieModule.java:109)

          at org.kie.scanner.MavenClassLoaderResolver.getClassLoader(MavenClassLoaderResolver.java:49)

          at org.drools.compiler.kie.builder.impl.KieModuleKieProject.<init>(KieModuleKieProject.java:52)

          at org.drools.compiler.kie.builder.impl.KieModuleKieProject.<init>(KieModuleKieProject.java:40)

          at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildKieModule(KieBuilderImpl.java:207)

          at org.kie.scanner.KieRepositoryScannerImpl.build(KieRepositoryScannerImpl.java:193)

          at org.kie.scanner.KieRepositoryScannerImpl.buildArtifact(KieRepositoryScannerImpl.java:143)

          at org.kie.scanner.KieRepositoryScannerImpl.loadArtifact(KieRepositoryScannerImpl.java:99)

          at org.kie.scanner.KieRepositoryScannerImpl.loadArtifact(KieRepositoryScannerImpl.java:91)

          at org.drools.compiler.kie.builder.impl.KieRepositoryImpl.loadKieModuleFromMavenRepo(KieRepositoryImpl.java:113)

          at org.drools.compiler.kie.builder.impl.KieRepositoryImpl.getKieModule(KieRepositoryImpl.java:99)

          at org.drools.compiler.kie.builder.impl.KieRepositoryImpl.getKieModule(KieRepositoryImpl.java:76)

          at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:95)

          at org.jbpm.kie.services.impl.KModuleDeploymentService.deploy(KModuleDeploymentService.java:106)

          at pt.ptinovacao.asf.workflow.engines.jbpm.engine.JBPMWorkflowEngine.deploy(JBPMWorkflowEngine.scala:245)

          at pt.ptinovacao.asf.workflow.engines.bpm.base.AbsBPMEngine.create(AbsBPMEngine.scala:94)

          at pt.ptinovacao.asf.workflowmanager.WorkflowManager$.create(WorkflowManager.scala:213)

          at pt.ptinovacao.asf.workflowplugin.WorkflowPlugin.execute(WorkflowPlugin.scala:26)

          at pt.ptinovacao.asf.brokerimpl.AbsBroker.invokeExecute(AbsBroker.scala:62)

          at pt.ptinovacao.asf.brokerimpl.PluginAgent$$anonfun$receive$1.applyOrElse(PluginAgent.scala:15)

          at akka.actor.Actor$class.aroundReceive(Actor.scala:465)

          at pt.ptinovacao.asf.brokerimpl.PluginAgent.aroundReceive(PluginAgent.scala:11)

          at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)

          at akka.actor.ActorCell.invoke(ActorCell.scala:487)

          at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254)

          at akka.dispatch.Mailbox.run(Mailbox.scala:221)

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

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

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