-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Description
Running the command on windows 10 - .\gradlew clean deployNodes throws an error - Error: Could not find or load main class net.corda.node.Corda
Logs are shared below, I tried to find any resolution on some blogs but all get in vain.
PS C:\Users\48013\Desktop\Backup\Tarun\TSG\Sample Apps\Blockchain\Corda\templates\cordapp-template-java> .
\gradlew clean deployNodes
> Task :jar
Cordapp metadata not defined for this gradle build file. See https://docs.corda.net/head/cordapp-build-sys
tems.html#separation-of-cordapp-contracts-flows-and-services
> Task :deployNodes
Running Cordform task
Deleting C:\Users\48013\Desktop\Backup\Tarun\TSG\Sample Apps\Blockchain\Corda\templates\cordapp-template-j
ava\build\nodes
Bootstrapping local test network in C:\Users\48013\Desktop\Backup\Tarun\TSG\Sample Apps\Blockchain\Corda\t
emplates\cordapp-template-java\build\nodes
Generating node directory for Notary
Generating node directory for PartyA
Generating node directory for PartyB
Waiting for all nodes to generate their node-info files...
#### Error while generating node info file C:\Users\48013\Desktop\Backup\Tarun\TSG\Sample Apps\Blockchain\
Corda\templates\cordapp-template-java\build\nodes\PartyA\logs ####
Error: Could not find or load main class net.corda.node.Corda
#### Error while generating node info file C:\Users\48013\Desktop\Backup\Tarun\TSG\Sample Apps\Blockchain\
Corda\templates\cordapp-template-java\build\nodes\Notary\logs ####
Error: Could not find or load main class net.corda.node.Corda
#### Error while generating node info file C:\Users\48013\Desktop\Backup\Tarun\TSG\Sample Apps\Blockchain\
Corda\templates\cordapp-template-java\build\nodes\PartyB\logs ####
Error: Could not find or load main class net.corda.node.Corda
> Task :deployNodes FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':deployNodes'.
> Error while generating node info file. Please check the logs in C:\Users\48013\Desktop\Backup\Tarun\TSG\
Sample Apps\Blockchain\Corda\templates\cordapp-template-java\build\nodes\PartyA\logs.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log out
put. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 24s
15 actionable tasks: 14 executed, 1 up-to-date
Metadata
Metadata
Assignees
Labels
No labels