spring-attic / spring-native

Spring Native is now superseded by Spring Boot 3 official native support
https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html
Apache License 2.0
2.74k stars 356 forks source link

`springcloud bootstrap` doesn't work #1634

Closed zhangpan-soft closed 2 years ago

zhangpan-soft commented 2 years ago

I want to use spring cloud bootstrap. However, when I use 'mvn clean -Pnative -Dskiptests package', it is successfully built, but the bootstrap is found at runtime YML is not effective. When I use 'mvn spring-boot: run', it runs correctly and uses bootstrap. When I use 'mvn spring-boot: build-image', the build fails with an error of 134 and 135. What should I do to use bootstrap normally.I think this is very important, because if this problem cannot be solved, the configuration center cannot be used, which means that I will lose the advantage of flexible configuration This is not worth the loss Therefore, I want to solve it

mhalbritter commented 2 years ago

Hi. According to the documentation, "Spring Cloud Bootstrap is no longer supported.".

sdeleuze commented 2 years ago

Notice we are working as part of Spring Boot 3 in collaboration with the Cloud team to provide better compatibility, so thanks for your patience.