Add configuration for `cmd` start application
KamilAdd-Byte opened this issue · 0 comments
KamilAdd-Byte commented
Application not starting. Problem with @Autowired annotation
Solved: define implement classes.
@SpringBootApplication
@ComponentScan(basePackageClasses= {
EventSourcingHandler.class,
CurrencyRequestCommandDispatcher.class,
CurrencyEventSourcingHandler.class
})
@EnableAutoConfiguration