hacera / daml-on-fabric

HACERA's work with Digital Asset on enabling DAML applications to run on Hyperledger Fabric
Apache License 2.0
27 stars 5 forks source link

Unable to run Java Quick Start against DAML-on-Fabric #26

Closed radsal closed 4 years ago

radsal commented 4 years ago

Encountered error while running the command on Step 3:

sbt "run --port 6865 --role provision,time,ledger,explorer ../quickstart/.daml/dist/quickstart-0.0.1.dar"

daml: 0.13.41 java: 1.8.0_201 scala: 2.12.11 sbt: 1.3.10

daml_on_fabric
dasormeter commented 4 years ago

reminder on recommended combination from the readme

dasormeter commented 4 years ago

I tried with a few different combinations -- it looks like the SBT version is the most likely culprit and Scala version should be okay.

So recommendation is that you stick with sbt 1.2.7 or 1.2.8

I also checked with JDK 11 / Scala 2.12.11 and that worked for me with SBT 1.2.8

SBT 1.3.10 looks to be problematic for sbt run on this project both with JDK8 and JDK11 regardless of Scala version.

https://www.scala-sbt.org/1.x/docs/sbt-1.3-Release-Notes.html

radsal commented 4 years ago

Using sbt version 1.2.8 works. Thanks.