org.jboss.weld.exceptions.IllegalArgumentException: WELD-001408: Unsatisfied dependencies for type DolphinEventBus with qualifiers @Default at injection point [BackedAnnotatedField] @Inject private com.canoo.dolphin.todo.server.ToDoController.eventBus

GitHub | hendrikebbers | 12 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

    KumuluzEE Server of ToDo sample not running on some environments

    GitHub | 12 months ago | hendrikebbers
    org.jboss.weld.exceptions.IllegalArgumentException: WELD-001408: Unsatisfied dependencies for type DolphinEventBus with qualifiers @Default at injection point [BackedAnnotatedField] @Inject private com.canoo.dolphin.todo.server.ToDoController.eventBus

    Root Cause Analysis

    1. org.jboss.weld.exceptions.DeploymentException

      WELD-001408: Unsatisfied dependencies for type DolphinEventBus with qualifiers @Default at injection point [BackedAnnotatedField] @Inject private com.canoo.dolphin.todo.server.ToDoController.eventBus

      at com.canoo.dolphin.todo.server.ToDoController.eventBus()
    2. com.canoo.dolphin
      ToDoController.eventBus
      1. com.canoo.dolphin.todo.server.ToDoController.eventBus(ToDoController.java:0)
      1 frame
    3. Weld Implementation
      ForwardingBeanManager.createInjectionTarget
      1. org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:359)
      2. org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:281)
      3. org.jboss.weld.bootstrap.Validator.validateProducer(Validator.java:417)
      4. org.jboss.weld.injection.producer.InjectionTargetService.validateProducer(InjectionTargetService.java:36)
      5. org.jboss.weld.manager.InjectionTargetFactoryImpl.validate(InjectionTargetFactoryImpl.java:150)
      6. org.jboss.weld.manager.InjectionTargetFactoryImpl.createInjectionTarget(InjectionTargetFactoryImpl.java:80)
      7. org.jboss.weld.manager.InjectionTargetFactoryImpl.createInjectionTarget(InjectionTargetFactoryImpl.java:70)
      8. org.jboss.weld.manager.BeanManagerImpl.createInjectionTarget(BeanManagerImpl.java:1137)
      9. org.jboss.weld.util.ForwardingBeanManager.createInjectionTarget(ForwardingBeanManager.java:201)
      9 frames
    4. com.canoo.dolphin
      DolphinContext$1$3.handleCommand
      1. com.canoo.dolphin.server.javaee.CdiContainerManager.createManagedController(CdiContainerManager.java:57)
      2. com.canoo.dolphin.server.controller.ControllerHandler.createController(ControllerHandler.java:78)
      3. com.canoo.dolphin.server.context.DolphinContext.onRegisterController(DolphinContext.java:218)
      4. com.canoo.dolphin.server.context.DolphinContext.access$200(DolphinContext.java:62)
      5. com.canoo.dolphin.server.context.DolphinContext$1$3.handleCommand(DolphinContext.java:156)
      5 frames
    5. org.opendolphin.core
      ServerConnector.receive
      1. org.opendolphin.core.server.comm.CommandHandler$handleCommand.call(Unknown Source)
      2. org.opendolphin.core.server.comm.CommandHandler$handleCommand.call(Unknown Source)
      3. org.opendolphin.core.server.ServerConnector.receive(ServerConnector.groovy:63)
      3 frames
    6. com.canoo.dolphin
      DolphinPlatformServlet.doPost
      1. com.canoo.dolphin.server.context.DolphinContext.handle(DolphinContext.java:272)
      2. com.canoo.dolphin.server.context.DolphinContextHandler.handle(DolphinContextHandler.java:138)
      3. com.canoo.dolphin.server.servlet.DolphinPlatformServlet.doPost(DolphinPlatformServlet.java:39)
      3 frames
    7. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
      2 frames
    8. com.canoo.dolphin
      CrossSiteOriginFilter.doFilter
      1. com.canoo.dolphin.server.servlet.CrossSiteOriginFilter.doFilter(CrossSiteOriginFilter.java:42)
      1 frame
    9. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      12. org.eclipse.jetty.server.Server.handle(Server.java:497)
      13. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
      14. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      15. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      16. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      17. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      17 frames