Cannot resolve symbol 'java8'

Answered

Hello to everybody.
I'm using:

IntelliJ IDEA 2018.2.8 (Ultimate Edition)
and the latest Java8: 1.8.0_211

My IDE highlights errors such as:

import java8.util.Optional;
- Cannot resolve symbol 'java8'
Error:(29, 18) java: package java8.util does not exist

What do I need to configure in IDEA to avoid such errors?

Project language level in Project Structure already set to '8 - Lambdas, type annotations, etc.'

0
3 comments
Avatar
Permanently deleted user

The same problem is for java8.util.Objects, java8.util.stream.StreamSupport, etc.

Where to download a jar with such package names?

0

Ask the one who wrote the code using these packages.

0

Please sign in to leave a comment.