java运行异常duplicate methods named spliterator with the parameters () and () are inherited from the typ

来源:互联网 发布:c语言深度剖析 编辑:程序博客网 时间:2024/06/06 20:59

duplicate methods named spliterator with the parameters () and () are inherited from the types Collection and Iterable

解决方式是:修改项目的build path中的jre版本,因为可能是你的eclipse版本不支持jre1.8,下载一个新的jre版本,然后添加为项目运行的jre版本。

0 1
原创粉丝点击