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

 

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)

 

时间: 2024-09-19 23:54:16

Document字段发生变化后,报的错的相关文章

frame-我在添加和修改是只要是有关日期类型的字段就会报错

问题描述 我在添加和修改是只要是有关日期类型的字段就会报错 我用的pastgresql数据库 ,Springmvc hibernate,Spring,frame框架! 错误信息是: Failed to convert property value of type 'java.lang.String' to required type 'java.util.Date' for property 'birthday'; nested exception is org.springframework.

91- 插入时间字段的时候报错

问题描述 插入时间字段的时候报错 com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect date value: '' for column 'birthday' at row 1 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2983) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631) at co

iOS 导入SDK后,报错,文件配置,路径都查了,还是报这个错,删掉重新导入还是这样

问题描述 解决方案 other linker flags截图看看.解决方案二:直接导入EaseMobSDK文件夹就可以了,还有请确认文档中需要的依赖库是否都已导入.解决方案三:按照你的方法,我做了一遍,还是报这种错误,求解解决方案四:公司把网给我限制了,-ObjC-force_load"$(SRCROOT)/E_Supply/EaseMobSDK/libEaseMO.......解决方案五:就使用-ObjC即可,下面的-force_load"$(SRCROOT)/E_Supply/Ea

eclipse报错-大神门,求救啊。在线等 为什么会报这个错

问题描述 大神门,求救啊.在线等 为什么会报这个错 这是代码 public void onClick(View v) { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); try { DocumentBuilder builder = factory.newDocumentBuilder(); System.out.println("111111111"); //String url = &qu

c#-EF框架DBfirst,表的字段增加后,实体的字段无法同步添加

问题描述 EF框架DBfirst,表的字段增加后,实体的字段无法同步添加 如题,后期因为用户要求在一张表里添加了一个字段,然后想在实体里更新一下.通过从数据库更新到模型后会提示报错,"已存在具有相同键的条目".我把模型删了之后,重新添加也不行删除后整个模型都添加不了,而且报的错误与之前相同.如果把整个模型都删除,重新弄得话,确实可以.但是数据库里有很多表都是没用.跪求大神帮助.刚学EF的菜鸟一个!!!! 解决方案 微软主推的是CodeFrist 如果担心自己学习速度 或者习惯于DBfi

使用viewpager报这个错是怎么回事

问题描述 使用viewpager报这个错是怎么回事 这个是包的什么问题.... 03-22 03:49:15.368: E/AndroidRuntime(1612): FATAL EXCEPTION: main 03-22 03:49:15.368: E/AndroidRuntime(1612): Process: com.example.hospitalmain, PID: 1612 03-22 03:49:15.368: E/AndroidRuntime(1612): java.lang.R

j2ee中遇到下面的错误提示,是启动服务器的时候报的错。求解

问题描述 j2ee中遇到下面的错误提示,是启动服务器的时候报的错.求解 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 17 in

ast eport-FastReport发布到IIS服务器多人访问时就报这个错,人少访问不报错

问题描述 FastReport发布到IIS服务器多人访问时就报这个错,人少访问不报错 1C FastReport发布到IIS服务器多人访问时就报这个错,人少访问不报错ERROR: (Text39): Error CS0103: The name 'pRptHawb' does not exist in the current context (Text40): Error CS0103: The name 'pRptHawb' does not exist in the current cont

javaweb-ssh2整合项目,quartz调度任务报的错,请高手解决,本人感激不尽。

问题描述 ssh2整合项目,quartz调度任务报的错,请高手解决,本人感激不尽. 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCreationException: Error creating bean