Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-262

Duplicated reactive message beans when compiling project using messaging add-on

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 0.4.0
    • None
    • Core Engine
    • None
    • 2019 Week 35-37

      [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:build (default) on project kogito-visas: Failed to build a runnable JAR: Failed to build a runner jar: Failed to augment application classes: Build failure: Build failed due to errors
      [ERROR] [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: javax.enterprise.inject.spi.DeploymentException: Found 8 deployment problems:
      [ERROR] [1] Ambiguous dependencies for type io.smallrye.reactive.messaging.extension.MediatorManager and qualifiers [@Default]
      [ERROR] - java member: io.quarkus.smallrye.reactivemessaging.runtime.SmallRyeReactiveMessagingLifecycle#mediatorManager
      [ERROR] - declared on CLASS bean [types=[io.quarkus.smallrye.reactivemessaging.runtime.SmallRyeReactiveMessagingLifecycle, java.lang.Object], qualifiers=[@Default, @Any], target=io.quarkus.smallrye.reactivemessaging.runtime.SmallRyeReactiveMessagingLifecycle]
      [ERROR] - available beans:
      [ERROR] - CLASS bean [types=[java.lang.Object, io.smallrye.reactive.messaging.extension.MediatorManager], qualifiers=[@Default, @Any], target=io.smallrye.reactive.messaging.extension.MediatorManager]
      [ERROR] - CLASS bean [types=[java.lang.Object, io.smallrye.reactive.messaging.extension.MediatorManager], qualifiers=[@Default, @Any], target=io.smallrye.reactive.messaging.extension.MediatorManager]
      [ERROR] [2] Ambiguous dependencies for type io.smallrye.reactive.messaging.ChannelRegistry and qualifiers [@Default]
      [ERROR] - java member: io.smallrye.reactive.messaging.extension.StreamProducer#channelRegistry
      [ERROR] - declared on CLASS bean [types=[io.smallrye.reactive.messaging.extension.StreamProducer, java.lang.Object], qualifiers=[@Default, @Any], target=io.smallrye.reactive.messaging.extension.StreamProducer]
      [ERROR] - available beans:
      [ERROR] - CLASS bean [types=[io.smallrye.reactive.messaging.impl.InternalChannelRegistry, java.lang.Object, io.smallrye.reactive.messaging.ChannelRegistry], qualifiers=[@Default, @Any], target=io.smallrye.reactive.messaging.impl.InternalChannelRegistry]
      [ERROR] - CLASS bean [types=[io.smallrye.reactive.messaging.impl.InternalChannelRegistry, java.lang.Object, io.smallrye.reactive.messaging.ChannelRegistry], qualifiers=[@Default, @Any], target=io.smallrye.reactive.messaging.impl.InternalChannelRegistry]
      [ERROR] [3] Ambiguous dependencies for type io.smallrye.reactive.messaging.ChannelRegistry and qualifiers [@Default]
      [ERROR] - java member: io.smallrye.reactive.messaging.extension.MediatorManager#channelRegistry

            cnicolai@redhat.com Cristiano Nicolai
            cnicolai@redhat.com Cristiano Nicolai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: