cancel
Showing results for 
Search instead for 
Did you mean: 

activiti 5.12.1 with spring 4.0.4

dmitri_ilyin
Champ in-the-making
Champ in-the-making
Hello,

I'd like to port my Applilcation from spring 3.1.2 to 4.0.4 The activiti-spring Artefact depends on spring 3.1.2
I could successfully compile activiti-spring sources (taken from github with 5.12.1 TAG ) with spring 4.0.4 My Application seems to run also.

Is it ok to use Spring 4.0.4?
Are there any potential problems with such a combination to expect ?

thanks and regards
Dmitri
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Hi Dmitri,

We tried to switch to Spring 4.x for Activiti 5.15, which worked fine.
We only had an issue with the Activiti Mule modules, since Mule doesn't seem to work with Spring 4.x.
So yes, it should work fine.

Best regards,

jtsmith2020
Champ in-the-making
Champ in-the-making
Hi,

I've been banging my head against a wall trying to integrate Mule with Activiti in a Spring 4.x MVC web app and I just found this post. Can I double check here - Mule doesn't work with Spring 4.x ? Does that explain why I am getting "NoSuchBeanDefinitionException: No bean named '_muleContext' is defined" when the web app initialises?

If I switch to Spring 3.x will my head stop hurting ?

Thanks,

john

jbarrez
Star Contributor
Star Contributor
Last time I checked, Mule was indeed only compatible with Spring 3, and that would explain the exception you are getting