How to solve package is declared in module, but module does not read it?

Viewed 3976

I am migrating my development environment to another pc. I use NetBeans 10, open JDK11, JavaFX. When I import the main project into NetBeans I get the following error:

on:

import java.util.logging.Level;
import java.util.logging.Logger;

error is:

package java.util.logging is not visible

package java.util.logging is declared in module java.logging, but module javafx.swing does not read it.

Do you have any idea how to solve it? Thank you

0 Answers
Related