hdimitrieski / e-shop

Sample Spring Cloud microservices e-shop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

category-common can not do the db init at dev profile

blling opened this issue · comments

Step: clean db and restart category-command in dev profile

Analyze:
category-command use axon to dispatch save event,but the event class do not have default no args constructor, this cause the event json string deserialization fail in the category-query side, so it will not save into the category-query db