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

UnsupportedClassVersionError #301

Open
hspatel09 opened this issue Aug 5, 2022 · 1 comment
Open

UnsupportedClassVersionError #301

hspatel09 opened this issue Aug 5, 2022 · 1 comment
Labels

Comments

@hspatel09
Copy link

Jenkins and plugins versions report

Environment
Paste the output here

What Operating System are you using (both controller, and any agents involved in the problem)?

java.lang.UnsupportedClassVersionError: com/sun/xml/bind/StackHelper has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Reproduction steps

withAWS(role: "${AWS_ROLE_ARN}", region: "${AWS_REGION}") { // try to upload to s3 bucket }

Expected Results

it should upload to s3 bucket

Actual Results

it seems code is compiled with java9 which is mistach with java8. Here is stacktrace: java.lang.UnsupportedClassVersionError: com/sun/xml/bind/StackHelper has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Anything else?

No response

@hspatel09 hspatel09 added the bug label Aug 5, 2022
@erezgilron
Copy link

We have the same issue, builds keep failing when uploading to s3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants