Skip to content
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

Getting class build error while using aws sdk 1.1 with quarkus application version 3.8 #40177

Closed
bala4work opened this issue Apr 22, 2024 · 4 comments
Labels
area/native-image kind/bug Something isn't working triage/needs-feedback We are waiting for feedback.

Comments

@bala4work
Copy link

Describe the bug

Error: Class initialization of com.amazonaws.services.lambda.AWSLambdaClient failed. This error is reported at image build time because class com.amazonaws.services.lambda.AWSLambdaClient is registered for linking at image build time by command line and command line. Use the option

Getting above error when building using
build -Dquarkus.package.type=native -Dquarkus.native.container-build=true --stacktrace

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

java version "21.0.2"

Mandrel or GraalVM version (if different from Java)

No response

Quarkus version or git rev

3.8.2

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@bala4work bala4work added area/native-image kind/bug Something isn't working labels Apr 22, 2024
Copy link

quarkus-bot bot commented Apr 22, 2024

/cc @Karm (mandrel), @galderz (mandrel), @zakkak (mandrel)

@galderz
Copy link
Member

galderz commented Apr 23, 2024

We recently had an issue with the AWS v1 SDK, see #39548. The relevant comment here would be #39548 (comment). It seems that support for native compilation on AWS v1 SDK has a lot of problems. You probably want to use AWS v2 SDK instead.

@zakkak
Copy link
Contributor

zakkak commented Aug 28, 2024

@bala4work have you tried @galderz's suggestion? Is this still an issue for you? If so please provide a minimal reproducer.

@zakkak zakkak added the triage/needs-feedback We are waiting for feedback. label Aug 28, 2024
@geoand
Copy link
Contributor

geoand commented Sep 5, 2024

Closing for a lack of a feedback.

@geoand geoand closed this as not planned Won't fix, can't repro, duplicate, stale Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/native-image kind/bug Something isn't working triage/needs-feedback We are waiting for feedback.
Projects
None yet
Development

No branches or pull requests

4 participants