Error starting hilla application

i get the following error when starting a Hilla application

2023-11-27T20:13:58.637+01:00 ERROR 49761 — [nio-8080-exec-7] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path threw exception [com.vaadin.flow.server.ServiceException: java.lang.IllegalStateException: com.vaadin.flow.server.ExecutionFailedException: Failed to configure Hilla engine] with root cause

dev.hilla.engine.commandrunner.CommandNotFoundException: No valid executable found
at dev.hilla.engine.commandrunner.CommandRunner.lambda$run$0( ~[engine-core-2.4.0.jar:na]
at java.base/java.util.Optional.orElseThrow( ~[na:na]
at ~[engine-core-2.4.0.jar:na]
at dev.hilla.internal.AbstractTaskEndpointGenerator.prepareEngineConfiguration( ~

Ok i solved it by adding
mvn binary to the folder
should the binary and .mvn folder be commited to git?
they are ignored by default?
i do have maven installed locally and added to path.

Maven Wrapper (mvnw) has higher precedence than the global installed maven if it’s available in your project; if you don’t need it - remove it and that global maven is used