We are using Axon Framework 3.4.1 with spring boot 2.0.0.RELEASE. For our service we use the AxonConfiguration file to configure various things like the Event Store. The Event Store is then used in another configuration pieceAnnouncingSagaConfiguration which is used to configure a saga tracking processor.
The problem we are facing is a bit weird. When we build the service (we use maven) sometimes there is no problem, but a next build of the same source code can fail to boot, producing the following logs:
So we have an “Unsatisfied dependency” of the eventStore bean, which should be created in the AxonConfiguration file. For a working build we see that the AxonConfiguration file is ‘executed’ before the execution of the pieceAnnouncingSagaConfiguration file, causing a regular start up without any problems.
The maven build seems to be non-deterministic, which is very odd…
Can someone help us out here please?