This content has been marked as final.
Show 3 replies
-
1. Re: command service
jbarrez Sep 17, 2009 4:05 AM (in response to sravyts)The SprinfConfiguration class is an implementation of the ProcessEngine, so you shouldn't need to define the processEngine again.
-
2. Re: command service
sravyts Sep 17, 2009 8:21 AM (in response to sravyts)How do you call the buildProcessEngine method if you remove the line
<bean id="processEngine" factory-bean="jbpmConfiguration" factory-method="buildProcessEngine" />
? -
3. Re: command service
jbarrez Sep 17, 2009 9:33 AM (in response to sravyts)@Sofie:
I'm sorry I hadnt read your code good, so you can neglect my previous command.
The problem here is that both the Configuration and ProcessEngine (Both interfaces) are mplemented by the SpringConfiguration class. That's why you get the exception.
I guess the easiest way to quickly fix this issue is to inject by name instead of by type.