-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Deprecated ConfigurationBeanFactoryMetadata is removed in Spring Boot 2.3.0.M1 #1543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The stacktrace is:
|
This is being tracked in spring-projects/spring-boot#19860. Spring Cloud will not be compatible with Spring Boot |
Closing in favor of boot issue |
This is once again broken with Spring Boot |
Hoxton will not be compatible with boot 2.4.x |
Thank you! Is there a newer version of |
Thanks again. I did just find it. The mvnrepository project link for spring-cloud-dependencies is broken. The https://spring.io/projects/spring-cloud page doesn't have doc specific to spring-cloud-dependencies and doesn't list upcoming releases but I finally found it via the release notes link to https://github.com/spring-projects/spring-cloud/wiki. |
https://spring.io/projects/spring-cloud#learn has upcoming releases |
So the expected happened: I update to the released spring-boot |
You have to wait for a compatible version of spring cloud. See link above |
spring-projects/spring-cloud#77 |
helped me, thank's bro |
WELL DONE |
�[2m2022-02-17 17:35:10.252�[0;39m �[32m INFO�[0;39m �[35m11412�[0;39m �[2m---�[0;39m �[2m[ main]�[0;39m �[36mtrationDelegate$BeanPostProcessorChecker�[0;39m �[2m:�[0;39m Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$c040a45a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. org.springframework.beans.factory.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 [sun.misc.Launcher$AppClassLoader@764c12b6] �[2m2022-02-17 17:35:10.313�[0;39m �[31mERROR�[0;39m �[35m11412�[0;39m �[2m---�[0;39m �[2m[ main]�[0;39m �[36mo.s.boot.SpringApplication �[0;39m �[2m:�[0;39m Application run failed org.springframework.beans.factory.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 [sun.misc.Launcher$AppClassLoader@764c12b6] |
I just tried to upgrade to Spring Boot 2.3.0.M1 in a SC Config project. However, I get a CNFE because
org.springframework.boot.context.properties.ConfigurationBeanFactoryMetadata
is deprecated since Spring Boot 2.2 and removed in Spring Boot 2.3.0.M1.Instead
org.springframework.boot.context.properties.ConfigurationPropertiesBean
should be used.The text was updated successfully, but these errors were encountered: