【发布时间】:2020-04-08 19:25:45
【问题描述】:
我正面临这个错误。 错误:找不到符号 FieldInfo attributeAccount = getField("accountId",AccountSchemaV1.PersistentAccount.class);
我应该为 getfield 导入什么? 已经导入了这些库。
import net.corda.client.rpc.CordaRPCClient;
import net.corda.core.node.NodeInfo;
import net.corda.core.utilities.NetworkHostAndPort;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.PathVariable;
import net.corda.client.rpc.CordaRPCConnection;
import net.corda.core.messaging.CordaRPCOps;
import net.corda.core.node.services.Vault;
import net.corda.core.node.services.vault.*;
import com.template.states.AccountState;
import com.template.schema.AccountSchemaV1;
import net.corda.core.contracts.StateAndRef;
import net.corda.core.messaging.DataFeed;
import rx.Observable;
import net.corda.core.node.services.VaultService;
import net.corda.core.node.services.*;
import net.corda.core.node.services.vault.QueryCriteria.*;
import java.util.List;
【问题讨论】:
标签: blockchain corda