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

4.x: -Pjlink-image -Djlink.image.stripDebug=true fails with Unsupported class file major version 65 #1028

Closed
barchetta opened this issue Mar 7, 2024 · 0 comments · Fixed by #1029
Assignees
Milestone

Comments

@barchetta
Copy link
Member

barchetta commented Mar 7, 2024

If you build a Helidon 4 application (in this case 4.0.2) using:

mvn clean install -Pjlink-image -Djlink.image.stripDebug=true

It fails with:

[ERROR] Failed to execute goal io.helidon.build-tools:helidon-maven-plugin:4.0.2:jlink-image (jlink-image) 
on project helidon-quickstart-se: Image generation error: Unsupported class file major version 65 -> [Help 1]

This is because the linker module uses an old version of asm (7.2).

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

Successfully merging a pull request may close this issue.

1 participant