gpt4 book ai didi

corda - 在 Corda 3 中,运行 runNodes 时获取 Quasar ClassReader 异常

转载 作者:行者123 更新时间:2023-12-05 04:06:45 26 4
gpt4 key购买 nike

当我运行 runNodes 任务来启动 Corda 3 中的节点时,出现以下异常:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by Capsule (file:/D:/Code/LearnBlockChain/cordapp-template-kotlin/build/nodes/PartyB/corda-webserver.jar) to field com.sun.jmx.mbeanserver.JmxMBeanServer.mbsInterceptor
WARNING: Please consider reporting this to the maintainers of Capsule
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Listening for transport dt_socket at address: 5009
[quasar] ERROR: while transforming jdk/internal/vm/PostVMInitHook: null
java.lang.IllegalArgumentException
at co.paralleluniverse.asm.ClassReader.<init>(Unknown Source)
at co.paralleluniverse.asm.ClassReader.<init>(Unknown Source)
at co.paralleluniverse.fibers.instrument.QuasarInstrumentor.instrumentClass(QuasarInstrumentor.java:120)
at co.paralleluniverse.fibers.instrument.QuasarInstrumentor.instrumentClass(QuasarInstrumentor.java:94)
at co.paralleluniverse.fibers.instrument.JavaAgent$Transformer.transform(JavaAgent.java:209)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(Unknown Source)
at java.instrument/sun.instrument.TransformerManager.transform(Unknown Source)
at java.instrument/sun.instrument.InstrumentationImpl.transform(Unknown Source)
[quasar] ERROR: while transforming jdk/internal/math/FloatingDecimal: null
java.lang.IllegalArgumentException

我该如何解决这个问题?

最佳答案

如果您使用错误版本的 Oracle JDK,您将看到此问题。 Corda 需要 Oracle JDK 8 JVM,支持的最低版本为 8u131。

关于corda - 在 Corda 3 中,运行 runNodes 时获取 Quasar ClassReader 异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49426562/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com