spring-core 冲突 AnnotatedElementUtils.findMergedAnnotation

java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotatedElementUtils.findMergedAnnotation

(Ljava/lang/reflect/AnnotatedElement;Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
org.springframework.data.mapping.model.BasicPersistentEntity.findAnnotation(BasicPersistentEntity.java:389)
org.springframework.data.mongodb.core.mapping.BasicMongoPersistentEntity.<init>(BasicMongoPersistentEntity.java:81)
org.springframework.data.mongodb.core.mapping.MongoMappingContext.createPersistentEntity(MongoMappingContext.java:91)


是因为 active-AllMQ-5.14.1 与spring-core 冲突

解决办法: 把active-AllMQ 的core目录重新编译成带有此方法的jar包,或者直接将spring-core相关目录下的class 考进去 然后重新编译打包。

猜你喜欢

转载自annan211.iteye.com/blog/2366689
今日推荐