corda-training-template icon indicating copy to clipboard operation
corda-training-template copied to clipboard

Reg build issue

Open nvohra26 opened this issue 4 years ago • 0 comments

I am trying to set up corda-training-template on my PC. It is a Ubuntu 18.04 system with 16GB RAM.

JDK is set to JAVA 1.8.0.242

If the downloaded code is used as it is for build, then following error is coming

ERROR: Unable to load class 'com.intellij.util.ThrowableConsumer'. Possible causes for this unexpected error include: Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) Re-download dependencies and sync project (requires network)

The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem. Stop Gradle build processes (requires restart)

Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.

In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

In case following change is done:

distributionUrl=https://services.gradle.org/distributions/gradle-5.4.1-all.zip,

then after the download of corda-webserver-4.0 jar, Build hangs and I need to restart the PC.

Can you please confirm what could I be missing?

nvohra26 avatar Apr 18 '20 08:04 nvohra26