corda / cordapp-template-java

A Java CorDapp Template. Extend it via the Hello, World tutorial: https://docs.corda.net/hello-world-introduction.html
83 stars 127 forks source link

Execution failed for task ':startCorda'. #90

Open jmahmud opened 2 months ago

jmahmud commented 2 months ago

Hi

I am trialling Corde 5.2, but cloning the repo (running on macOS Sonoma 14.5) with:

When I rung the gradle task startCorda I am getting this error: `Execution failed for task ':startCorda'.

net.corda.gradle.plugin.exception.CordaRuntimeGradlePluginException: Corda process did not start successfully, please check the logs.

I have attempted to remove all references to corda in home directory and the repo but I am simply unable to get it to simply start the Corda service. In addition, I have been able to clone the CSDE-cordapp-template-java repo and I was able to run the startCorda service there - but I am unclear as to what the difference is.

If I could have a suggestion as to what the issue may be that would be appreciated.

Thanks Josh

jmahmud commented 2 months ago

It seems this is very similar to #88 - therefore will raise a PR in order to address this. However, ran into a secondary issue of FlowManagementUI failing due to attempting to bind to port 5000 which is usually in use (particularly on macOS). Therefore adjusted this to a non-standard port (5001) in order to resolve this....