I have some legacy EGL JSF applications that I need to support. I recently installed RBD 9.1 on a Windows 10 laptop. When I import my project I'm getting the following Java error:
Duplicate methods named spliterator with the parameters () and () are inherited from the types Collection and Iterable
When I do a Google search for this error the only thing that seems remotely close is a post on Stack Overflow that mentions something about a conflict between Java 7 and Java 8.
It says to check the Window -> Preferences -> Java -> Installed JREs and edit the existing directory to point to the directory containing Java 7. I checked this and it appears to be correct.
Does anyone have an idea why I'm getting this error and how to fix it. I compared the setup of what I had before on my old Windows 7 laptop and besides some newer fixes that got installed everything is the same. Could there be a fix that I downloaded that is causing this?
I had this issue with a user some years back with the RBD v9.1.x stream and it transpired their project was pointing at a WAS JRE rather then the RBD default Properties -> Java Build path -> JRE System Library ->Alternate JRE ->WAS JRE.
I don't remember all the details but he had applied some fix packs , updates to the WAS instance which apparently caused the problem, once he set it to the default RBD JDK it worked fine. There are also JDK updates available for the RBD v9.1 stream on Fix central and while I don't recall anybody ever having to install those to resolve an error like yours it may be worth trying if you are definitely using the default RBD JDK.
I would check your project properties before anything else.
Thanks and Regards Mark
Mark Hall HCL Technologies RBD L2 Support