我试着将spring-data-redis 1.6.4.RELEASE的Spring Boot应用程序升级到1.7.2.RELEASE,同时将spring-data-redis依赖项添加到POM,同时保持spring-boot-starter-redis不变使用Spring Boot 1.3.5.RELEASE)。升级后的应用程序无法启动与此错误:弹簧数据redis/spring引导依赖不匹配?
产生的原因:java.lang.AbstractMethodError:org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy $ CreateIfNotFoundQueryLookupStrategy.resolveQuery(Ljava /朗/反映出/方法; Lorg/springframework的/数据/库/型芯/ RepositoryMetadata; Lorg/springframework的/数据/投影/ ProjectionFactory; Lorg/springframework的/数据/库/型芯/ NamedQueries)Lorg/springframework的/数据/库/查询/ RepositoryQuery;
有点神秘。
你可以共享'AbstractMethodError'的堆栈跟踪吗? –
请参阅[链接](https://gist.github.com/Ed42/2315d2272c80d7db708421e4e4af08cf) – user3380516
我真的很感激任何帮助或建议。我需要一些在spring-data-redis 1.7.x中引入的功能(例如@RedisHash)。 – user3380516