我正在尝试将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
最佳答案
由于某些原因,可以将JRE系统库从JRE8更改为JRE7。