What went wrong:
Execution failed for task ':deployNodes'.
Cannot find the NetworkBootstrapper class. Please ensure that 'corda-node-api' is available on Gradle's runtime classpath, e.g. by adding it to Gradle's 'runtimeOnly' configuration.
net.corda.nodeapi.internal.network.NetworkBootstrapper
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.
I was getting this error before my fix.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':deployNodes'.
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