I recently updated using Java 8 on my computer for eclipse. I used to use Java 7. At first, the update seemed to work fine, since I could compile and run a simple- hello worldprogram. However, when I started importing previous projects that I worked on, I used the class java.util.Arrays, I got an error, for example Arrays could not be resolved. I had a similar problem with a class PriorityQueuesaying that
Type java.util.Comparatorcannot be allowed. It indirectly refers to the required files .class.
source
share