Posted September 13, 20196 yr I remember seen this error in the past, but in other projects I have set up, the errors are no longer present, and I don't know what I'm missing or what fixed it. Why is all this showing underlined in red? I understand it's because import java.util.stream.Collectors; can't be resolved. But I don't understand how to fix it.
September 16, 20196 yr Author Thanks. Yes I think the problem was that IntelliJ was trying to use Java 11 instead of 8.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.