snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

Add support for mutable-jar package format for container image extensions #288

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 3 years ago

Description Currently there is no way to use container image extensions (jib or docker) to build a valid image for remote dev mode. When following the guide on build maven based quarkus app it does not mention this limitation and building the image results in exception at runtime

Exception in thread "main" java.nio.file.NoSuchFileException: /work/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:111)
    at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
    at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)
    at java.base/java.nio.file.Files.newByteChannel(Files.java:370)
    at java.base/java.nio.file.Files.newByteChannel(Files.java:421)
    at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
    at java.base/java.nio.file.Files.newInputStream(Files.java:155)
    at io.quarkus.bootstrap.runner.DevModeMediator.doStart(DevModeMediator.java:39)
    at io.quarkus.bootstrap.runner.DevModeMediator.doDevMode(DevModeMediator.java:29)
    at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:35)
    at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:25)

https://github.com/quarkusio/quarkus/issues/15477


$upstream:15477$