No property index found for type User
问题 I'm trying to use ElasticSearch with MySQL in the same project. I defined two repositories in different project but I always get this error message: Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.owish.services.UserServices com.owish.controllers