您的位置:首页 > 其它

Document字段发生变化后,报的错

2016-10-11 16:14 531 查看
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)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐