From fb6dc4f94b2829ecec052806a2cbec317f590ceb Mon Sep 17 00:00:00 2001 From: ja9-look Date: Wed, 7 Dec 2022 08:25:02 -0500 Subject: [PATCH] Fixes class not found when running gradlew.bat runTestClient Before: Error: Could not find or load main class net.corda.samples.example.webserver.Client After: -- Here is the networkMap snapshot -- // -- Here is the node info of the node that the client connected to -- // with the relevant information about the nodes --- Basic/cordapp-example/clients/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Basic/cordapp-example/clients/build.gradle b/Basic/cordapp-example/clients/build.gradle index 7ea1f1ec..10deb03c 100644 --- a/Basic/cordapp-example/clients/build.gradle +++ b/Basic/cordapp-example/clients/build.gradle @@ -34,7 +34,7 @@ springBoot { */ task runTestClient(type: JavaExec, dependsOn: assemble) { classpath = sourceSets.main.runtimeClasspath - main = 'net.corda.samples.example.webserver.Client' + main = 'net.corda.samples.example.Client' args 'localhost:10006', 'user1', 'test' }