1 | .BeanCreationException: Error creating bean with name 'configurationPropertiesBeans' defined in class path resource [org/springframework/cloud/autoconfigure/ConfigurationPropertiesRebinderAutoConfiguration.class]: Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.context.properties.ConfigurationPropertiesBeans] from ClassLoader [org.springframework.boot.loader.LaunchedURLClassLoader@238e0d81] |
I saw the above error log when i launch my spring project. firstly i didn’t know why it happened to me. but after i searched about it, i knew the answer.
the reason is the miss matching of spring cloud version. you can find the version information into the below website.
https://spring.io/projects/spring-cloud
in the 2.6.X spring version case, you gotta use 2021.0.X versions