WAR File for Production

Why cant I create a WAR File using the guides on the documentation? Im following the command mvn install -Pproduction and mvn clean package -Pproduction. It just throws a build failure.

Can you quote the exact error message?

@yummy-rhino hi tatu this is what i get. I started from start.vaadin.com

You are trying to use Vaadin 24 with Java 11, but Java 17 is required.

@yummy-rhino i am currently using vaadin 23.3.7 and java 11 as per my pom.xml file. Hope this helps.

@yummy-rhino or i prolly have java17 configured on my eclipse ide.