kelemen / netbeans-gradle-project

This project is a NetBeans plugin able to open Gradle based Java projects. The implementation is based on Geertjan Wielenga's plugin.
173 stars 57 forks source link

package does not exist: java.util.logging with gradle and jdk11 #419

Open ratcashdev opened 5 years ago

ratcashdev commented 5 years ago

Opening a project on Netbeans 10 using Gradle 5.2, plugin version 2.0.2 and JDK11 results in import errors for classes like java.util.logging.Logger or java.util.logging.Level on Windows 10

kelemen commented 5 years ago

Is it a modular project or not? If it is not, then you have to disable modularization in the project/global properties.

ratcashdev commented 5 years ago

it has a parent and a single child project right now.

kelemen commented 5 years ago

I meant from Jigsaw perspective.

slominskir commented 5 years ago

Note for future Googlers: To disable use Project Properties dialog: Under "Java modules" I unchecked the "Allow Modules" checkbox for both Default and Global profile, and eventually it solved the problem. It took awhile before the red X beside all the files in the Projects window finally resolved, but they did eventually as I browsed the files.

ratcashdev commented 5 years ago

thanks. as much as I am concerned, this can be closed.