I managed to sync maven in intellij at the same time as running "mvn" on the command line.
So one of my jars got corrupted. No idea which one (I am still trying to figure out which one).
When I run "mvn quarkus:dev" now, it doesn't tell me which one:
[INFO] --- quarkus-maven-plugin:0.22.0:dev (default-cli) @ optaplanner-quarkus-example ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
...
[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:0.22.0:dev (default-cli) on project optaplanner-quarkus-example: Failed to run: Failed to resolve Quarkus application model: Failed to inject extension deployment dependencies for org.optaplanner:optaplanner-quarkus-example:jar:7.28.0-SNAPSHOT: zip END header not found -> [Help 1]
...
The Quarkus exception should include the name of the broken zip file (= corrupted jar file in my maven repo). This messes up the getting started experience.
Stacktraces (mvn -e):
https://gist.github.com/ge0ffrey/1c1483b8508790aefeeda29580eeb20c
WORKAROUND
mvnDebug quarkus:dev -Ddebug
(note that mvn quarkus:dev -Ddebug
is not enough).Looks like a good opportunity for a first contribution :).
I have created a PR with a potential fix for this https://github.com/quarkusio/quarkus/pull/4145
Most helpful comment
Looks like a good opportunity for a first contribution :).