Skip to content

GraalVM Native Image Fails with NoClassDefFoundError for DefaultSqsAsyncClientBuiler #6156

Closed as not planned
@syedyusufh

Description

@syedyusufh

Describe the bug

Spring Boot v3.5.0
AWS SDK V2 v2.31.54
GraalVM 24.0.1

Native image gets built successfully, however runtime fails with NoClassDefFoundError for DefaultSqsAsyncClientBuiler. Have tried adding reflect-config.json, metadata with tracingAgent, nothing helped.

DefaultSqsAsyncClientBuiler is a package-private class.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

Native Application should run successfully

Current Behavior

Native Application fails to run with NoClassDefFoundError for DefaultSqsAsyncClientBuiler

Reproduction Steps

NA

Possible Solution

No response

Additional Information/Context

No response

AWS Java SDK version used

2.31.54

JDK version used

GraalVM 24.0.1

Operating System and version

Amazon Linux 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions