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

vaadin-maven-plugin:24.5.6 doesn't support class files produced by JDK 23 #7060

Open
vlipovetskii opened this issue Dec 1, 2024 · 2 comments
Labels

Comments

@vlipovetskii
Copy link

Describe the bug

[ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:24.5.6:build-frontend (default-cli) on project vlite.ukrkn.app: null: MojoFailureException: InvocationTargetException:
Could not execute build-frontend goal: Error occured during goal execution: Unsupported class file major version 67

Expected-behavior

vaadin-maven-plugin:24.5.6 supports class files produced by JDK 23

Reproduction

Apply vaadin-maven-plugin:24.5.6 to class files produced by JDK 23

System Info

Vaadin

@mcollovati
Copy link
Contributor

I cannot reproduce the issue, building with Java 23.
I get a different error if the project compiler plugin is configured with release=23 and I compile with Java 23 and then run maven with Java 21 or 17, but this is expected.
Could you please run maven with -X flag and post the full error log message including the complete stack-trace?

@manolo
Copy link
Member

manolo commented Dec 2, 2024

I also tested both: a flow, and a hilla, projects downloaded from the start.vaadin.com and everything works fine with openjdk 23, we need more information about the classes throwing the exception

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

3 participants