Search code examples
flowable

Flowable 7 with Spring Boot 3: No qualifying bean of type 'org.flowable.engine.RepositoryService'


I am updating some applications to the latest Spring Boot (3.1.0) and in one of them, I am using Flowable.

The point is, that after upgrading some versions on my pom.xml I get a No qualifying bean of type 'org.flowable.engine.RepositoryService' issue. I have this error in my tests and when I try to run the application itself. I have changed the Flowable version to 7.0.0.M1 as this version is defined as:

This is the first milestone for version 7 of the Flowable Engines focusing on the Spring Boot 3, Spring 6 and Java 17 upgrade.

As I am using two different git branches, if I go back to the previous version (Flowable 6.8.0 and Spring Boot 2.6.4) is working fine. Then I assuming that, or the version is still not ready (is a Milestone 1, understandable) or some extra configuration is different, but I am not able to find any specific documentation.

Do somebody know if version 7.0.0.M1 is usable? My expectations are not high, but maybe somebody has already good experience with it. There is some specific information when migrating to Sprint Boot 3?

I am not able to find any specific documentation or feed-back about it.


Solution

  • Ok, seems a dependency problem:

        <dependency>
            <groupId>org.flowable</groupId>
            <artifactId>flowable-form-spring-configurator</artifactId>
            <version>${flowable.version}</version>
        </dependency>
    

    This dependency version is 6.8.0 as does not exist yet version 7.0.0.M1 . Probably is the one that is causing the problem, but I need it. I will keep everything on version 6.8.0 by now.