Ice4j中的错误来源:重复方法

时间:2014-08-16 02:41:25

标签: java jar ice4j

我正在尝试将Ice4j导出到我的项目中使用的jar文件,但是有一个错误,我不知道如何修复它,因为我以前从未见过这个,而Google几乎没有关于它的信息。我直接从svn复制文件而没有编辑,因此我将在下面发布源代码。

Duplicate methods named spliterator with the parameters () and () are inherited from the types Collection<CandidateHarvester> and Iterable<CandidateHarvester>
Duplicate methods named spliterator with the parameters () and () are inherited from the types Set<CandidateHarvester> and Collection<CandidateHarvester>

代码如下:

public class CandidateHarvesterSet
    extends AbstractSet<CandidateHarvester>
{

完整档案在此处:https://code.google.com/p/ice4j/source/browse/trunk/src/org/ice4j/ice/harvest/CandidateHarvesterSet.java

1 个答案:

答案 0 :(得分:1)

出于某种原因,将JRE系统库从JRE8更改为JRE7可以正常工作。