Spring 数据弹性搜索更新到 3.0.7



我已经将我的弹簧数据弹性搜索更新到版本 3.0.7 我想知道我是否也应该更新 spring 核心版本,因为在运行我的项目后抛出了异常

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restParametrageCompetenceController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: ma.accolade.ged.ms.gestion.parametrage.service.CompetenceService ma.accolade.ged.ms.gestion.parametrage.controller.RestParametrageCompetenceController.competenceService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'CompetenceService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: ma.accolade.ged.ms.gestion.parametrage.persistance.CompetencePersistance ma.accolade.ged.ms.gestion.parametrage.service.impl.CompetenceImpl.competenceRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'competencePersistance': Initialization of bean failed; nested exception is java.lang.AbstractMethodError
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)

你应该使用发布训练依赖项。这样一切都是同步的。

http://projects.spring.io/spring-data/#quick-start

相关内容

最新更新