Skip to content

build vaadin 14.14 project with JDK 21 failed. #22735

@ZheSun88

Description

@ZheSun88

Description of the bug

build project using Vaadin 14.14.0 failed with following error.

[ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:14.14.0:build-frontend (default) on project docs: Execution default of goal com.vaadin:vaadin-maven-plugin:14.14.0:build-frontend failed: Unsupported class file major version 65 -> [Help 1]

Expected behavior

build passes

Minimal reproducible example

  • git clone [email protected]:vaadin/docs.git
  • cd docs
  • git checkout v14
  • mvn install -DskipTests -Pproduction

Versions

  • Vaadin / Flow version: 14.14
  • Java version: 21

Metadata

Metadata

Assignees

Type

Projects

Status

🔖 High Priority (P1)

Status

🟢Ready to Go

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions