2016-10-11 15:27:47,828 [ERROR] [main] SpringApplication:838 - Application startup failed
org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'userBiz':
Unsatisfied dependency expressed through field 'userRepository':
Error creating bean with name 'userRepository':
Invocation of init method failed;
nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.SimpleElasticsearchRepository]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: Mapper for [name] conflicts with existing mapping in other types:
[mapper [name] has different [store] values, mapper [name] has different [analyzer]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository': Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.SimpleElasticsearchRepository]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: Mapper for [name] conflicts with existing mapping in other types:
[mapper [name] has different [store] values, mapper [name] has different [analyzer]]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:569)


 

相关文章:

  • 2022-12-23
  • 2021-10-04
  • 2021-07-02
  • 2022-12-23
  • 2021-10-17
  • 2022-02-09
  • 2021-12-31
  • 2021-05-27
猜你喜欢
  • 2022-12-23
  • 2021-09-12
  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
  • 2022-01-22
  • 2022-12-23
相关资源
相似解决方案