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
This is follow-up on #26113 and I'm trying this on main as a fix as been provided.
But in my case, it doesn't work at all now, the container can't start because of this exception :
Exception in thread "main" java.nio.file.NoSuchFileException: /home/jboss/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:371)
at java.base/java.nio.file.Files.newByteChannel(Files.java:422)
at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
at java.base/java.nio.file.Files.newInputStream(Files.java:156)
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:45)
at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:31)
Expected behavior
remote-dev should work with images built with the JIB extension
Actual behavior
stacktrace provided above
How to Reproduce?
Create new app using 999-SNAPSHOT (main) with quarkus-container-image-jib extension and using this properties :
If you look at the target/quarkus-app/lib/deployment directory you see 110 elements (notice I have not started the application, but even if I do, this count won't change).
Now, when I do mvn remote-dev on the same application, then I see that the target/quarkus-app/lib/deployment directory has changed and now only contains 37 elements.
The end result of this weird behavior is that remote-dev does not seem to work at all. Do you have any idea what's going on?
Describe the bug
This is follow-up on #26113 and I'm trying this on
main
as a fix as been provided.But in my case, it doesn't work at all now, the container can't start because of this exception :
Expected behavior
remote-dev should work with images built with the JIB extension
Actual behavior
stacktrace provided above
How to Reproduce?
Create new app using 999-SNAPSHOT (main) with
quarkus-container-image-jib
extension and using this properties :build the image and push it to a registry, then try to deploy it on a cluster with setting env var
QUARKUS_LAUNCH_DEVMODE=true
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
main
Build tool (ie. output of
mvnw --version
orgradlew --version
)mvn
Additional information
No response
The text was updated successfully, but these errors were encountered: