Failed to build native docker image #23918
Unanswered
Bilel-NEJI
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi together,
I had just started to learn Quarkus following documentation and tutorials.
The application runs quite well locally and in DevMode, I can Package and run it using the jar file.
But when it comes to build create a native executable using the "./gradlew build -Dquarkus.package.type=native": I receive this message (knowing that I'm using windows 10, but Git bash terminal, even IntelliJ terminal & Windows terminal). Thanks in advance.
$ ./gradlew build -Dquarkus.package.type=native
Uber JAR strategy is used for native image source JAR generation on Windows. This is done for the time being to work around a current GraalVM limitation on Windows concerning the maximum command length (see https://github.com/oracle/graal/i
FAILURE: Build failed with an exception.
Execution failed for task ':quarkusBuild'.
Caused by: java.nio.file.FileSystemException: C:\Users\BILELN\Desktop\BilelN\Project\quarkus-devices\build\quarkus-app\quarkus-run.jar: Le processus ne peut pas acc▒der au fichier car ce fichier est utilis▒ par un autre processus.
BUILD FAILED in 5s
6 actionable tasks: 1 executed, 5 up-to-date
Beta Was this translation helpful? Give feedback.
All reactions