zaterdag 14 december 2024

AxonServer: Table "token_entry" not found

When using AxonServer and you include a @EventHandler in your code, the AxonServer told me that the table "token_entry" was not available.

The problem was that I used Spring-JPA-NHibernate in my code. I defined an entitymanager for JPA and that messed up the entitymanager for Axon. After removing the JPA code and replacing it with jetbrains Exposed, the problem was gone.

An addition setting that I activated was in the application.properties:

spring.jpa.hibernate.ddl-auto=create-drop

You can download the AxonServer at this url: https://download.axoniq.io/axonserver/AxonServer.zip

Geen opmerkingen:

Een reactie posten