Open
Description
I am importing the splunk in separate project then found error from this line
org.springframework.boot spring-boot-starter-parent 2.2.0.BUILD-SNAPSHOTif I change the version 2.2.0.BUILD-SNAPSHOT to 2.1.6.RELEASE then I can able to build.
org.springframework.boot spring-boot-starter-parent 2.1.6.RELEASENow if I run the application then I found following issue
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.beans.factory.annotation.AnnotatedGenericBeanDefinition.<init>(AnnotatedGenericBeanDefinition.java:58)
The following method did not exist:
org.springframework.core.type.AnnotationMetadata.introspect(Ljava/lang/Class;)Lorg/springframework/core/type/AnnotationMetadata;
The method's class, org.springframework.core.type.AnnotationMetadata, is available from the following locations:
jar:file:/C:/Users/sayan/.m2/repository/org/springframework/spring-core/5.1.8.RELEASE/spring-core-5.1.8.RELEASE.jar!/org/springframework/core/type/AnnotationMetadata.class
It was loaded from the following location:
file:/C:/Users/sayan/.m2/repository/org/springframework/spring-core/5.1.8.RELEASE/spring-core-5.1.8.RELEASE.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of org.springframework.core.type.AnnotationMetadata