Issue with Java version of cordapp-template project

(Bikash Sen) #1

I want to access net.corda.core.contracts.TransactionType.General.Builder class from my Java contract state class. But Java (1.8) does not allow me to access. I have already posted a topic but still no response. Please help as I am stuck with my deliverable. Is there any other way around to implement generateAgreement() method under DealState?

I am trying to run Java version of cordapp-template project.

(Bikash Sen) #2

I have resolved Java compilation issues by myself :slight_smile: I could not wait for long time.

Slightly changed the “cordapp-template” Java coding using Java reflection to get it passed through compilation. Now it’s working perfectly.