1 Reply Latest reply on Oct 27, 2014 12:18 PM by franco80

    JBPM 6.1.0.Final InjectableRegisterableItemsFactory.getFactory(beanManager, null)

    franco80 Novice

      Hello all

       

      I have a problem with error: "The method getFactory(BeanManager, AbstractAuditLogger) is ambiguous for the type InjectableRegisterableItemsFactory". Anyone knows what I have to do with it ?

       

      This error blocks compilation. This piece of code is taken from: Chapter 20. Integration

       

      regards

        • 1. Re: JBPM 6.1.0.Final InjectableRegisterableItemsFactory.getFactory(beanManager, null)
          franco80 Novice

          final RuntimeEnvironment environment = RuntimeEnvironmentBuilder.Factory.get()

                          .newDefaultBuilder()

                          .entityManagerFactory(emf)

                          .userGroupCallback(userGroupCallback)

                          .registerableItemsFactory(factory)

                          .addAsset(ResourceFactory.newClassPathResource("process.bpmn"), ResourceType.BPMN2).get();

           

          @Inject

              private InjectableRegisterableItemsFactory factory;

           

          this solves the problem, ofcourse solution from manual for jbpm 6.1 doesn't work