You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am getting error while configuring sample source code application locally.
I am following the steps mentioned in official documentation link in given below.
Documentation Link: Run a sample CorDapp
I have upgraded the gradle to 7.3
and Kotlin version to 1.3 and after that when I run the command to deploy nodes as mentioned in documentation I am getting following error which is in "net.corda.plugins.cordformation" plugin.
Error is:
A problem was found with the configuration of task ':deployNodes' (type 'Cordform').
In plugin 'net.corda.plugins.cordformation' type 'net.corda.plugins.Cordform' property 'directory' has @input annotation used on property of type 'Path'.
Reason: A property of type 'Path' annotated with @input cannot determine how to interpret the file.
Possible solutions:
Annotate with @InputFile for regular files.
Annotate with @InputDirectory for directories.
If you want to track the path, return File.absolutePath as a String and keep @input.
I was using Gradle 7.x before installing Corda and saw the same issue. I noticed the examples used 5.6.4. Modify the grade/wrapper/gradle-wrapper.properties file to use gradle-5.6.4-all.zip and you should be all set.
Hi, I am getting error while configuring sample source code application locally.
I am following the steps mentioned in official documentation link in given below.
Documentation Link: Run a sample CorDapp
I have upgraded the gradle to 7.3
and Kotlin version to 1.3 and after that when I run the command to deploy nodes as mentioned in documentation I am getting following error which is in "net.corda.plugins.cordformation" plugin.
Error is:
A problem was found with the configuration of task ':deployNodes' (type 'Cordform').
In plugin 'net.corda.plugins.cordformation' type 'net.corda.plugins.Cordform' property 'directory' has @input annotation used on property of type 'Path'.
Reason: A property of type 'Path' annotated with @input cannot determine how to interpret the file.
Possible solutions:
Please refer to https://docs.gradle.org/7.3/userguide/validation_problems.html#incorrect_use_of_input_annotation for more details about this problem.
Please Help me to configure the following code. Thanks in advance.
The text was updated successfully, but these errors were encountered: