尝试从 Corda V1 迁移到 V3。它在 V1 中运行良好,但在使用 Corda V3 后,它抛出以下错误 -
java.util.concurrent.ExecutionException: java.io.NotSerializableException: net.corda.core.contracts.TransactionState -> data(net.corda.core.contracts.ContractState) -> 为参数qualifiedCurrency 定义的setter 采用接口java 类型的参数.util.List 但底层类型是 java.util.List -> class com.xxx.agreementnegotiation.state.AgreementNegotiationState
在 java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) atjava.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895) 在 net.corda.core.internal.concurrent.CordaFutureImpl.get(CordaFutureImpl.get(CordaFutureImpl. kt) at com.xxx.agreementnegotiation.api.AgreementNegotiationApi.startInitFlow(AgreementNegotiationApi.java:95) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. sun.java:622) .reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory. java:81) 在 org.glassfish.jersey.server.model.internal。AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) at org.glassfish.jersey.server.model.internal.JavakervoResourceMethodInc .doDispatch(JavaResourceMethodDispatcherProvider.java:160) 在
蓝山帝景
12345678_0001
相关分类