Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ratcashdev opened this issue Feb 19, 2019 · 5 comments
Open

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

ratcashdev opened this issue Feb 19, 2019 · 5 comments

Comments

@ratcashdev
Copy link

ratcashdev commented Feb 19, 2019

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
Copy link
Owner

kelemen commented Feb 20, 2019

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

@ratcashdev
Copy link
Author

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

@kelemen
Copy link
Owner

kelemen commented Feb 20, 2019

I meant from Jigsaw perspective.

@slominskir
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants