Skip to content

BitcoindService.scala:73: error: value writeString is not a member of object java.nio.file.Files #2232

@mdance

Description

@mdance

I am following the build instructions at https://github.com/ACINQ/eclair/blob/master/BUILD.md

When running mvn package crashes with:

eclair-core/src/test/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoindService.scala:73: error: value writeString is not a member of object java.nio.file.Files
[ERROR] Files.writeString(new File(PATH_BITCOIND_DATADIR.toString, "bitcoin.conf").toPath, conf)
[ERROR] ^
[ERROR] one error found

origin https://github.com/ACINQ/eclair
commit bc53da9 (HEAD -> android-phoenix, tag: v0.4.15-android-phoenix, origin/android-phoenix)

Linux sandbox 5.17.0-1-MANJARO #1 SMP PREEMPT Mon Mar 7 08:29:54 UTC 2022 x86_64 GNU/Linux
jenv local android-phoenix * [ 9:23 PM ]
openjdk64-11.0.15

mvn -version android-phoenix * [ 9:24 PM ]
Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: /opt/maven
Java version: 1.8.0_332, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk/jre
Default locale: en_CA, platform encoding: UTF-8
OS name: "linux", version: "5.17.0-1-manjaro", arch: "amd64", family: "unix"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions