spring-projects / spring-projects/spring-integration-samples
Getting issue in version mismatch.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the spring-boot-starter-parent version declarations shown in the report and inspect the resolved dependency tree, especially the spring-core 5.1.8.RELEASE entry. Compare the incompatible versions and verify that the application builds and starts with one compatible Spring classpath.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring, spring-boot
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100