I have been trying to make some integration tests pass by calling some rest controllers on top of aggregates and I am stuck with the following error while trying to create an aggregate from within another aggregate :
java.lang.RuntimeException: org.axonframework.common.AxonConfigurationException: Since repository provider is not provided, we cannot spawn a new aggregate…
Tests have been ok with Fixtures, around the aggregates. I have been able to load an event sourced aggregate, wich created a new aggregate in one of its command handling methods
It seems that Fixtures are packaged with a default repository Provider that allow the creation of aggregates.
I need to make it work in integration phase before production with is the next step.
Any help regarding this problem would be greatly appreciated.