bean circular dependency in DemoComplaintsStatisticsApplication

I am attaching my pom.xml and DemoComplaintsStatisticsApplication.java files.

I am getting the following error message:

pom.xml (1.84 KB)

DemoComplaintsStatisticsApplication.java (2.02 KB)

Hmm… interesting. I don’t really see the circular dependency.
Does it help to change the dependency from “serializer” to the “messageConverter”?
So declare:

@Bean
public SpringAMQPMessageSource statisticsSource(DefaultAMQPMessageConverter converter) {

Cheers,

Allard

Allard,

The problems were:

  1. spring boot version needs to be 1.4.2.RELEASE (instead of 1.5.1.RELEASE I had)
  2. axon-spring-boot-starter and axon-amqp versions need to be 3.0-RC1 (instead of 3.0-RC2 I had)
    After these changes there is no bean circular dependency.

Also, when I tried your “bootiful-axon” code, I had to comment out @RequestMapping to make it work.

Thank you.
Sinasi

Hi,

why do you use an RC release? I recommend using 3.0.2.

Kind regards,

Allard Buijze

Allard,

I followed your suggestion.
I used 3.0.2. I also switched back to springboot 1.5.1.RELEASE.
Everything is working fine now.

Thanks,
Sinasi.