问题
I have been working my way through the Hello, World! Tutorial from V2.0 and cannot import the following variable.
import static net.corda.docs.java.tutorial.helloworld.TemplateContract.TEMPLATE_CONTRACT_ID;
Intellij informs me that it "Cannot resolve symbol 'docs'".
Is this a known issue or have I incorrectly setup the cordapp-template-java project?
回答1:
Resolved this issue by using:
import static com.template.TemplateContract.TEMPLATE_CONTRACT_ID;
The definition for this variable can be found here.
来源:https://stackoverflow.com/questions/47730995/cordapp-template-java-cannot-resolve-symbol-docs