Hi all, When trying to use Spring Data Elasticsea...
# spring
n
Hi all, When trying to use Spring Data Elasticsearch (3.0.0RC2) with Spring Boot (2.0.0M3) I am running into a problem when mapping the result documents to data class instances, Jackson complains `com.fasterxml.jackson.databind.exc.InvalidDefinitionException`: Can not construct instance of ... (no Creators, like default construct, exist): can not deserialize from Object value (no delegate- or property-based Creator). Therefore I created a custom (slightly extended) entityMapper with
objectMapper.registerModule(KotlinModule())
and registering it with
Copy code
@Bean
    fun elasticsearchTemplate(): ElasticsearchOperations {
        val resultMapper = DefaultResultMapper(entityMapper())
        return ElasticsearchTemplate(elasticsearchClient(), resultMapper)
    }
unfortunately it seems that my entity mapper is not picked up, but still the
DefaultEntityMapper
is used. Any ideas?