Skip to content

[Native Image] springboot3.0.6 cloud 2022.0.2 graalvmce 17.0.9 linux error:No qualify bean of type com.netflix.discovery.Eureka available #11381

Closed
@enderwsp

Description

@enderwsp

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.

GraalVM Version

graalvmce 17.0.9

Operating System and Version

linux centos7

Troubleshooting Confirmation

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions