Reputation: 165
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?
Upvotes: 0
Views: 212
Reputation: 165
Resolved this issue by using:
import static com.template.TemplateContract.TEMPLATE_CONTRACT_ID;
The definition for this variable can be found here.
Upvotes: 2