【发布时间】:2019-10-04 16:25:10
【问题描述】:
我正在尝试在 Windows 上开始使用 Corda,并且我正在使用以下文档遵循入门指南:
- https://docs.corda.net/quickstart-index.html#setting-up-a-development-environment
- https://vimeo.com/217462250
- https://docs.corda.net/getting-set-up.html
我已经下载了所有最新版本(截至 22.09.19)的 Git(2.23.0,64 位版本)/Java JDK(jdk-8u221-windows-x64.exe)/和最新的 IntelliJ。
但是我面临以下问题:
当我打开“事件日志”时,我没有看到任何消息事件分级消息
此外,当我尝试从 Intellj > Run CordaApps Kotlin 运行节点时,我收到以下错误消息:
-
当我尝试从 Git bash 终端运行节点时
Jatin@LAPTOP-16QRBJDJ MINGW64 ~/cordapp-tutorial (release-V3) $ ./gradlew.bat deployNodes Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details :java-source:compileJava UP-TO-DATE :java-source:processResources UP-TO-DATE :java-source:classes UP-TO-DATE :java-source:configureCordappFatJar :java-source:jar UP-TO-DATE :java-source:deployNodes Bootstrapping local network in C:\Users\Jatin\cordapp-tutorial\java-source\build\nodes Node config files found in the root directory - generating node directories Generating directory for Notary Generating directory for PartyA Generating directory for PartyB Generating directory for PartyC Nodes found in the following sub-directories: [Notary, PartyA, PartyB, PartyC] Waiting for all nodes to generate their node-info files... :java-source:deployNodes FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':java-source:deployNodes'. > Node in Notary exited with 1 when generating its node-info - see logs in C:\Users\Jatin\cordapp-tutorial\java-source\build\nodes\Notary\logs * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 23s 5 actionable tasks: 2 executed, 3 up-to-date日志:
CAPSULE EXCEPTION: Illegal char <"> at index 34: C:\Program Files\Java\jdk1.7.0\bin" (for stack trace, run with -Dcapsule.log=verbose) USAGE: <options> corda.jar Actions: capsule.version - Prints the capsule and application versions. capsule.modes - Prints all available capsule modes. capsule.jvms - Prints a list of all JVM installations found. capsule.help - Prints this help message. Options: capsule.mode=<value> - Picks the capsule mode to run. capsule.reset - Resets the capsule cache before launching. The capsule to be re-extracted (if applicable), and other possibly cached files will `enter code here`be recreated. capsule.log=<value> (default: quiet) - Picks a log level. Must be one of none, quiet, verbose, or debug. capsule.java.home=<value> - Sets the location of the Java home (JVM installation directory) to use; If 'current' forces the use of the JVM that launched the capsule. capsule.java.cmd=<value> - Sets the path to the Java executable to use. capsule.jvm.args=<value> - Sets additional JVM arguments to use when running the application."
【问题讨论】:
-
请阅读Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers? - 总结是这不是解决志愿者的理想方式,并且可能会适得其反。请不要将此添加到您的问题中。
-
halfer - 请确认我的下一步是什么?如何让这个例子工作?
-
我已将其删除.. 请告知下一步是什么?
标签: gradle intellij-idea