Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

During the ./gradlew deplyNodes command i received this error message.

error: package com.google.common.collect does not exist
import com.google.common.collect.ImmutableList;
                                ^

I followed all steps in the tutorial.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
187 views
Welcome To Ask or Share your Answers For Others

1 Answer

This is a bug caused by recent changes to the CorDapp Templates. It is being fixed by this PR.

In the meantime, drop this import and use Arrays.asList() instead of ImmutableList.of().


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...