I'm migrating from Spring 3 to Spring 5, I getting the following exception

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springmodules.workflow.jbpm31.LocalJbpmConfigurationFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/beans/factory/access/BeanFactoryLocator

One of the classes in spring-modules-jbpm31 jar is referring to BeanFactoryLocator which is removed in Spring 5.

Is there any alternative for spring-modules-jbpm31 which is compatible with Spring 5?
Any input related to fixing this would be helpful.

Thanks in Advance

Comment From: oneandzeros

same issue I have

Comment From: jhoeller

We are not aware of an immediate alternative there. You might have to fork/patch spring-modules-jbpm31 yourself if needed. Please note that spring-modules-jbpm31 has never been officially supported and is unmaintained since 2007...