Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Mohsin Husen, 2 years ago
Unable to identify index name. HashMap is not a Document. Make sure the document class is annotated with @Document(indexName="foo")
via Spring JIRA by Mohsin Husen, 1 year ago
Unable to identify index name. HashMap is not a Document. Make sure the document class is annotated with @Document(indexName="foo")
via Atlassian JIRA by Sven Walter (K15t Software), 1 year ago
via Atlassian JIRA by Sven Walter (K15t Software), 2 years ago
via Stack Overflow by Fryder
, 2 years ago
Interface must be annotated with @org.springframework.data.repository.RepositoryDefinition!
java.lang.IllegalArgumentException: Unable to identify index name. HashMap is not a Document. Make sure the document class is annotated with @Document(indexName="foo") at org.springframework.util.Assert.isTrue(Assert.java:65) at org.springframework.data.elasticsearch.core.ElasticsearchTemplate.getPersistentEntityFor(ElasticsearchTemplate.java:624) at org.springframework.data.elasticsearch.core.ElasticsearchTemplate.getPersistentEntityId(ElasticsearchTemplate.java:630) at org.springframework.data.elasticsearch.core.ElasticsearchTemplate.prepareIndex(ElasticsearchTemplate.java:551) at org.springframework.data.elasticsearch.core.ElasticsearchTemplate.bulkIndex(ElasticsearchTemplate.java:281)