Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

IOException: error=2, No such file or directory #11

Open
sky18Dragon opened this issue Aug 5, 2022 · 0 comments
Open

IOException: error=2, No such file or directory #11

sky18Dragon opened this issue Aug 5, 2022 · 0 comments

Comments

@sky18Dragon
Copy link

通过jdk(dcevm)启动报错,命令如下:
dcevm-11.0.6+1/bin/java -jar hotreload-boot-1.0.14-jar-with-dependencies.jar -localMode

报错信息:
HOTSWAP AGENT: 18:20:41.714 WARNING (org.hotswap.agent.watch.nio.WatcherNIO2) - Unable to watch for path jar:file:/data/hotreload-boot/hotreload-boot-1.0.14-jar-with-dependencies.jar!/logback.xml, not a local regular file or directory. HOTSWAP AGENT: 18:20:41.714 INFO (org.hotswap.agent.plugin.logback.LogbackPlugin) - Logback plugin initialized. Running with local mode Exception in thread "main" java.io.IOException: Cannot run program "java": error=2, No such file or directory at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) at com.github.liuzhengyang.hotreload.boot.Bootstrap.main(Bootstrap.java:90) Caused by: java.io.IOException: error=2, No such file or directory at java.base/java.lang.ProcessImpl.forkAndExec(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) ... 2 more

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant