You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But one can easily forget to add -Dquarkus.package.type=mutable-jar when building the app.
In that case the error complains about NSFE for deployment-class-path.dat and the log looks like this:
java -Dquarkus.launch.rebuild=true -jar target/quarkus-app/quarkus-run.jar
Exception in thread "main" java.nio.file.NoSuchFileException: /Users/rsvoboda/Downloads/code-with-quarkus/target/quarkus-app/lib/deployment/deployment-class-path.dat
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
at java.base/java.nio.file.Files.newByteChannel(Files.java:380)
at java.base/java.nio.file.Files.newByteChannel(Files.java:432)
at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:422)
at java.base/java.nio.file.Files.newInputStream(Files.java:160)
at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doReaugment(QuarkusEntryPoint.java:72)
at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:48)
at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:32)
Implementation ideas
Add more clear error message saying that re-augmentation was requested, but the application wasn't built with quarkus.package.type=mutable-jar
The text was updated successfully, but these errors were encountered:
Description
The proper flow to re-augment your application with a different build time configuration is
But one can easily forget to add
-Dquarkus.package.type=mutable-jar
when building the app.In that case the error complains about NSFE for
deployment-class-path.dat
and the log looks like this:Implementation ideas
Add more clear error message saying that re-augmentation was requested, but the application wasn't built with
quarkus.package.type=mutable-jar
The text was updated successfully, but these errors were encountered: