S3PutObjectRequestToV2 recipe fails with NoClassDefFound error when migrating getObjectMetadata to AWS SDK v2 #6620
Unanswered
danish-kamal-sophos
asked this question in
Migration from v1 to v2
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to migrate a codebase which has the following method:
However, when I run the AWS SDK v2 migration recipe using an init script:
./gradlew --no-daemon -Dorg.gradle.jvmargs=-Xmx4G -Dfile.encoding=UTF-8 --init-script migrate_aws_sdk.gradle rewriteDryRunthe
software.amazon.awssdk.v2migration.S3PutObjectRequestToV2recipe errors out with message:Has anyone else come across this issue. I think the issue is at this line where the cast should be into the type
J.MethodInvocationinstead ofJ.Identifier.Beta Was this translation helpful? Give feedback.
All reactions