Hello World Java教程deployNodes失败 [英] Hello World Java tutorial deployNodes failed
本文介绍了Hello World Java教程deployNodes失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在./gradlew deplyNodes命令期间,我收到此错误消息.
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.
推荐答案
这是由最近对CorDapp模板所做的更改引起的错误.该PR正在修复此问题.
This is a bug caused by recent changes to the CorDapp Templates. It is being fixed by this PR.
同时,删除此导入,并使用 Arrays.asList()
代替 ImmutableList.of()
.
In the meantime, drop this import and use Arrays.asList()
instead of ImmutableList.of()
.
这篇关于Hello World Java教程deployNodes失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文