Camunda 7 and Spring boot 4

Just a quick question. Does Camunda 7.24 support Spring Boot 4. I have just updated my dependencies to use Spring Boot 4.0.2 and I get the following error on startup:

Failed to generate bean name for imported class ‘org.camunda.bpm.spring.boot.starter.CamundaBpmAutoConfiguration’

It does not and there will be no update for the community edition.

Sorry, we are actually using 7.24.3-ee i.e. an Enterprise version.

Will the Enterprise version support the latest spring boot?

Yes, it already does.

I have a runtime issue with it then. I am using the 7.24.2-ee Camunda springboot starter and get an error:

java.lang.ClassNotFoundException: org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration

during the creation of the bean for org.camunda.bpm.spring.boot.starter.CamundaBpmAutoConfiguration

The class HibernateJpaAutoConfiguration was moved to org.springframework.boot.hibernate.autoconfigure.HibernateJpaAutoConfiguration in Springboot 4 so something is not right.

I will raise a support case. Thanks.

The doc says you need 7.24.3 for this.

It does work but you need to use new Spring Boot 4 specific libraries. Once I changed the libraries it compiled and ran.

Documented here Patch Level Update | docs.camunda.org

1 Like

The error you are encountering with Camunda 7.24 and Spring Boot 4.0.2 is primarily due to the significant architectural shifts in the Spring ecosystem that Camunda 7’s older auto-configuration classes do not yet recognize. Specifically, the CamundaBpmAutoConfiguration fails to load because it relies on internal Spring framework hooks that have likely been renamed or deprecated in the major leap to Spring Boot 4.