You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to run the latest version (after this commit: 1486b8f) of the start-form-springboot project using I get this error:
Correct the classpath of your application so that it contains compatible versions of the classes org.springframework.boot.autoconfigure.condition.OnBeanCondition and org.springframework.beans.factory.support.AbstractBeanDefinition
Exception in thread "main" java.lang.IllegalStateException: java.lang.NoSuchMethodError: 'boolean org.springframework.beans.factory.support.AbstractBeanDefinition.isDefaultCandidate()'
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.condition.OnBeanCondition.isDefaultCandidate(OnBeanCondition.java:294)
The following method did not exist:
'boolean org.springframework.beans.factory.support.AbstractBeanDefinition.isDefaultCandidate()'
The calling method's class, org.springframework.boot.autoconfigure.condition.OnBeanCondition, was loaded from the following location:
jar:file:/Users/xxx/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/3.4.2/spring-boot-autoconfigure-3.4.2.jar!/org/springframework/boot/autoconfigure/condition/OnBeanCondition.class
The called method's class, org.springframework.beans.factory.support.AbstractBeanDefinition, is available from the following locations:
jar:file:/Users/xxx/.m2/repository/org/springframework/spring-beans/6.1.6/spring-beans-6.1.6.jar!/org/springframework/beans/factory/support/AbstractBeanDefinition.class
The called method's class hierarchy was loaded from the following locations:
org.springframework.beans.factory.support.AbstractBeanDefinition: file:/Users/xxx/.m2/repository/org/springframework/spring-beans/6.1.6/spring-beans-6.1.6.jar
org.springframework.beans.BeanMetadataAttributeAccessor: file:/Users/xxx/.m2/repository/org/springframework/spring-beans/6.1.6/spring-beans-6.1.6.jar
org.springframework.core.AttributeAccessorSupport: file:/Users/xxx/.m2/repository/org/springframework/spring-core/6.2.2/spring-core-6.2.2.jar
commands: mvn spring-boot:run and mvn package exec:java result in same error
I use Java 17, maven 3.8.3/3.9.2
The text was updated successfully, but these errors were encountered:
When I try to run the latest version (after this commit: 1486b8f) of the start-form-springboot project using I get this error:
Correct the classpath of your application so that it contains compatible versions of the classes org.springframework.boot.autoconfigure.condition.OnBeanCondition and org.springframework.beans.factory.support.AbstractBeanDefinition
Exception in thread "main" java.lang.IllegalStateException: java.lang.NoSuchMethodError: 'boolean org.springframework.beans.factory.support.AbstractBeanDefinition.isDefaultCandidate()'
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.condition.OnBeanCondition.isDefaultCandidate(OnBeanCondition.java:294)
The following method did not exist:
'boolean org.springframework.beans.factory.support.AbstractBeanDefinition.isDefaultCandidate()'
The calling method's class, org.springframework.boot.autoconfigure.condition.OnBeanCondition, was loaded from the following location:
jar:file:/Users/xxx/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/3.4.2/spring-boot-autoconfigure-3.4.2.jar!/org/springframework/boot/autoconfigure/condition/OnBeanCondition.class
The called method's class, org.springframework.beans.factory.support.AbstractBeanDefinition, is available from the following locations:
jar:file:/Users/xxx/.m2/repository/org/springframework/spring-beans/6.1.6/spring-beans-6.1.6.jar!/org/springframework/beans/factory/support/AbstractBeanDefinition.class
The called method's class hierarchy was loaded from the following locations:
org.springframework.beans.factory.support.AbstractBeanDefinition: file:/Users/xxx/.m2/repository/org/springframework/spring-beans/6.1.6/spring-beans-6.1.6.jar
org.springframework.beans.BeanMetadataAttributeAccessor: file:/Users/xxx/.m2/repository/org/springframework/spring-beans/6.1.6/spring-beans-6.1.6.jar
org.springframework.core.AttributeAccessorSupport: file:/Users/xxx/.m2/repository/org/springframework/spring-core/6.2.2/spring-core-6.2.2.jar
commands: mvn spring-boot:run and mvn package exec:java result in same error
I use Java 17, maven 3.8.3/3.9.2
The text was updated successfully, but these errors were encountered: