Closed
Description
Having some trouble the past few days with the new Spring data 4 Elasticsearch, I get " Couldn't find PersistentEntity for type class com.example.demo.dto.Address"?
Before spring data 4 Jackson Object Mapping could be used but now CustomConversion should be used instead. There is the official reference https://docs.spring.io/spring-data/elasticsearch/docs/current/reference/html/#elasticsearch.mapping.meta-model.conversions providing an example converting from and to Address object.
I tried the example from the official reference and run into the problem. The demo project is included.
demo_project.zip