求解
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
org.springframework.boot.autoconfigure.data.AbstractRepositoryConfigurationSourceSupport$AutoConfiguredAnnotationRepositoryConfigurationSource.<init>(AbstractRepositoryConfigurationSourceSupport.java:128)
The following method did not exist:
org.springframework.data.repository.config.AnnotationRepositoryConfigurationSource.<init>(Lorg/springframework/core/type/AnnotationMetadata;Ljava/lang/Class;Lorg/springframework/core/io/ResourceLoader;Lorg/springframework/core/env/Environment;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Lorg/springframework/beans/factory/support/BeanNameGenerator;)V
The method's class, org.springframework.data.repository.config.AnnotationRepositoryConfigurationSource, is available from the following locations:
jar:file:/E:/cyk/maven/Repository/org/springframework/data/spring-data-commons/2.1.16.RELEASE/spring-data-commons-2.1.16.RELEASE.jar!/org/springframework/data/repository/config/AnnotationRepositoryConfigurationSource.class
The class hierarchy was loaded from the following locations:
org.springframework.data.repository.config.AnnotationRepositoryConfigurationSource: file:/E:/cyk/maven/Repository/org/springframework/data/spring-data-commons/2.1.16.RELEASE/spring-data-commons-2.1.16.RELEASE.jar
org.springframework.data.repository.config.RepositoryConfigurationSourceSupport: file:/E:/cyk/maven/Repository/org/springframework/data/spring-data-commons/2.1.16.RELEASE/spring-data-commons-2.1.16.RELEASE.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of org.springframework.data.repository.config.AnnotationRepositoryConfigurationSource
Disconnected from the target VM, address: '127.0.0.1:57237', transport: 'socket'
Process finished with exit code 1