Closed Moh3n75 closed 3 months ago
Could you provide the stack trace that you get? Did you first configure a JPAEventStorageEngine and then the MongoDB one? If so, did you reset (clear) the token table?
after debugging I found that .
its occurred when we use this dependency
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
after remove its worked
That's interesting, @Moh3n75, since as far as I know, Spring Boot Developer Tools should be working in combination with Axon Framework. However, I have a hunch what might be causing it, which is the version discrepancy between Axon Framework (4.9) and the Mongo Extension (4.6). It wouldn't hurt to use the latest version of the Mongo Extension here any how, but I am fairly confident it will fix use of the devtools dependency as well.
I will be closing this issue as resolved through the provided information and the fact you've solved it to some extent by simply removing spring-boot-devtools
from the equation.
If questions and/or problems remain on the subject, be sure to reach out!
Basic information
Steps to reproduce
when config axon token store to mongo db with this config :
for tracking event store get error Incompatible token type provided. at this lines of code :
but when i use jpa token store tracking event store work correctly
please help me to find that error