尝试 运行 基本的 cordapp-example 时卡在 deployNodes

Stuck at deployNodes when trying to run the basic cordapp-example

问题

我正尝试通过以下顶级错误 运行 cordapp-example ("Basic" folder), but when I try to do that I get stuck at the deployNodes instruction

$ ./gradlew deployNodes
Starting a Gradle Daemon, 1 busy and 1 stopped Daemons could not be reused, use --status for details

> Task :workflows-java:deployNodes
Running Cordform task
Deleting C:\Users\auriaad\Desktop\JavaTest\samples-java\Basic\cordapp-example\workflows-java\build\nodes
Bootstrapping local test network in C:\Users\auriaad\Desktop\JavaTest\samples-java\Basic\cordapp-example\workflows-java\build\nodes
Generating node directory for Notary
Generating node directory for PartyA
Generating node directory for PartyB
Generating node directory for PartyC
2020-12-09 13:45:08,526 Execution worker for ':' Thread 4 INFO Cannot initialize scripting support because this JRE does not support it. java.lang.NoClassDefFoundError: javax/script/ScriptEngineManager
    at org.apache.

第一次一直报错(在“执行”阶段,38%),差点因为资源消耗而让我的机器崩溃;所以我停止了这个过程并再次运行,得到了上述错误。

我试过的

附加信息

$ java -version  
openjdk version "1.8.0_275"  
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_275-b01)  
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.275-b01, mixed mode)  

我找不到问题,你能帮我吗?

显然问题与 Adopt 的 OpenJDK 有关。 将其替换为 Zulu(支持)后,一切顺利,构建成功。