Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor': Initialization of bean failed; nested exception is java.lang.AbstractMethodError: Receiver class org.springframework.context.support.ApplicationContextAwareProcessor does not define or inherit an implementation of the resolved method abstract postProcessAfterInitialization(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; of interface org.springframework.beans.factory.config.BeanPostProcessor.
Exception in thread "main" java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotationUtils.clearCache()V
java.lang.NoSuchMethodErro,可能是jar冲突了,
参考一下这篇博客 https://blog.csdn.net/qq_42664961/article/details/83860119