Начало работы на Corda в Windows - PullRequest
1 голос
/ 23 сентября 2019

Я пытаюсь начать работу на Corda в Windows, и я следую инструкциям по запуску, используя следующие документы:

Я скачал все последние версии (по состоянию на 22.09.19) Git (2.23.0, 64-разрядная версия) / Java JDK (jdk-8u221-windows-x64.exe) / и последний IntelliJ.

Однако я сталкиваюсь со следующими проблемами:

  1. Когда я открываю «Журнал событий», я не вижу никакихсообщения сообщение о событии

  2. Также, когда я пытаюсь запустить Узлы из Intellj> Запустить CordaApps Kotlin, я получаю следующее сообщение об ошибке:

  3. КогдаЯ пытаюсь запустить узлы из терминала 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."
    
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...