Closed
Description
Describe the Issue
native-maven-build 0.9.23
only use spring-boot-starter-web & spring-cloud-starter-netflix-eureka-client
jar run ok with agent tracing
mvn spring-boot:process-aot --OK
mvn -Pnative native:build --OK
execute native target/bin --- failed
Using the latest version of GraalVM can resolve many issues.
- I tried with the latest version of GraalVM.
GraalVM Version
graalvmce 17.0.9
Operating System and Version
linux centos7
Troubleshooting Confirmation
- I tried the suggestions in the troubleshooting guide.
Run Command
native run failed
Expected Behavior
native run ok and eureka register success
Actual Behavior
NoSuchBeanDefinitionException No qualify bean of type com.netflix.discovery.Eureka available
Steps to Reproduce
jar run ok with agent tracing
mvn spring-boot:process-aot
mvn -Pnative native:build
execute native target/bin
Additional Context
No response
Run-Time Log Output and Error Messages
No response