Could not autowire. No beans of 'AxonConfiguration' type found.
error keep exist
im using intellij, axon4.5
what’s wrong about it?
please let me know.
@Bean
fun eventStore(
storageEngine: EventStorageEngine,
configuration: AxonConfiguration
): EmbeddedEventStore {
return EmbeddedEventStore.builder()
.storageEngine(storageEngine)
.messageMonitor(configuration.messageMonitor(EventStore::class.java, "eventStore"))
.build()
}
i show this code from axon-mongo-demo/AxonMongoDemoApplication.java at master · idugalic/axon-mongo-demo · GitHub