Vaadin 14 production build failure Unsupported class file major version 62

Hi! We are currently developing an application with Vaadin 14. Everything is up and running in dev mode but when building for production the following exception appears:

[ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:14.2.0:build-frontend (default) on project ######: Execution default of goal com.vaadin:vaadin-maven-plugin:14.2.0:build-frontend failed: Unsupported class file major version 62 → [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.vaadin:vaadin-maven-plugin:14.2.0:build-frontend (default) on project mgov4eu-dataexchange: Execution default of goal com.vaadin:vaadin-maven-plugin:14.2.0:build-frontend failed: Unsupported class file major version 62

Any hints on how to fix this?
Thanks :slightly_smiling_face:

You are using different Java versions

how do you mean?

The java version you are using to build the production artefacts does not support the java code you have written / configured on your pom (compiler and source target properties)

thanks for the hint, we ll keep trying to figure it out :slightly_smiling_face: