xdagj
xdagj copied to clipboard
BUG : Exception in thread "main" cn.hutool.core.io.resource.NoResourceException: Resource of path [xdag-testnet.config] not exist!
Exception in thread "main" cn.hutool.core.io.resource.NoResourceException: Resource of path [xdag-testnet.config] not exist!
when I compile xdagj and use nohup java -jar --enable-preview xdagj-0.4.0-shaded.jar > xdagj.log 2>&1 & run the test net or main net ,It crashes.
Exception in thread "main" cn.hutool.core.io.resource.NoResourceException: Resource of path [xdag-testnet.config] not exist!
at cn.hutool.core.io.resource.ClassPathResource.initUrl(ClassPathResource.java:122)
at cn.hutool.core.io.resource.ClassPathResource.
How can i fix this problem? I follow this tutorial step by step: https://github.com/XDagger/xdagj/blob/master/docs/XDAGJ_Private_Chain_Tutorial_eng.md Can anyone help me ?
Please check if there is xdag-testnet.config in your resource file directory. Can you provide us with the code version and system version you are running, so that we can better troubleshoot the problem
yes, xdag-testnet.config in the resource file directory. I used master branch.
yes, xdag-testnet.config in the resource file directory. I used master branch.
You can try to copy xdag-testnet.config to the compiled jar package path. If you are using a linux or macos system, you also need to copy xdag.sh in the script folder to the same path. Try to execute xdag.sh -t to start the program. If there are any other errors, please contact us.
yes, xdag-testnet.config in the resource file directory. I used master branch.
You can try to copy xdag-testnet.config to the compiled jar package path. If you are using a linux or macos system, you also need to copy xdag.sh in the script folder to the same path. Try to execute xdag.sh -t to start the program. If there are any other errors, please contact us.
and you also need to add your java path to the xdag.sh file
fix on 0.5.0