Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-962

Kie-CI integration with Applications using Guava

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • 6.2.0.Final
    • 6.2.0.Final
    • core engine, tools
    • None
    • Hide


      Add a small application mith guava dependency which uses one of the API's (e.g MapMaker) which has changed after Guava9.

      Show
      Add a small application mith guava dependency which uses one of the API's (e.g MapMaker) which has changed after Guava9.
    • NEW
    • NEW

    Description

      Unable to start application with the 'kie-ci' dependency due to the older version of Guava transitively pulled from maven libraries.

      Caused by: java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
      at com.google.inject.internal.Annotations$AnnotationChecker.<init>(Annotations.java:104)
      at com.google.inject.internal.Annotations.<clinit>(Annotations.java:122)
      at com.google.inject.Key.ensureRetainedAtRuntime(Key.java:362)
      at com.google.inject.Key.strategyFor(Key.java:354)
      at com.google.inject.Key.get(Key.java:222)
      at org.eclipse.sisu.wire.ParameterKeys.<clinit>(ParameterKeys.java:28)
      at org.eclipse.sisu.wire.DependencyAnalyzer.<init>(DependencyAnalyzer.java:92)
      at org.eclipse.sisu.wire.ElementAnalyzer.<init>(ElementAnalyzer.java:87)
      at org.eclipse.sisu.wire.WireModule.configure(WireModule.java:74)
      at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:229)
      at com.google.inject.spi.Elements.getElements(Elements.java:103)
      at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:136)
      at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
      at com.google.inject.Guice.createInjector(Guice.java:94)
      at com.google.inject.Guice.createInjector(Guice.java:71)
      at com.google.inject.Guice.createInjector(Guice.java:61)

      More details here:

      https://groups.google.com/forum/#!topic/drools-setup/Mq6dW_fhQ9I

      Attachments

        Issue Links

          Activity

            People

              mfusco@redhat.com Mario Fusco
              jebuselwyn.martin Jebuselwyn Martin (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: