Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2020-07-24 13:23:47.176 ERROR 10256 — [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
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.transaction.annotation.SpringTransactionAnnotationParser.isCandidateClass(SpringTransactionAnnotationParser.java:44)
The following method did not exist:
org.springframework.core.annotation.AnnotationUtils.isCandidateClass(Ljava/lang/Class;Ljava/lang/Class;)Z
The method’s class, org.springframework.core.annotation.AnnotationUtils, is available from the following locations:
jar:file:/D:/Maven/apache-maven-3.6.1/mvn/mvnrepository/org/springframework/spring-core/5.1.15.RELEASE/spring-core-5.1.15.RELEASE.jar!/org/springframework/core/annotation/AnnotationUtils.class
It was loaded from the following location:
file:/D:/Maven/apache-maven-3.6.1/mvn/mvnrepository/org/springframework/spring-core/5.1.15.RELEASE/spring-core-5.1.15.RELEASE.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of org.springframework.core.annotation.AnnotationUtils
================================================
加入了actuator依赖后报的错,是版本冲突
springcloud版本(G版,对应springboot版本为2.1.X,有严格的版本对应,所以需要注意)
<!-- springcloud依赖-->
<!-- https://