Top "Module-info" questions

Used for module-info.

Unable to compile simple Java 10 / Java 11 project with Maven

I have a trivial Maven project: src └── main └── java └── module-info.java pom.xml pom.xml: <groupId>org.example&…

java maven java-10 java-11 module-info
Failed to execute maven-compiler-plugin:3.6.1:testCompile when using java 9

I know that there are a lot question with similar error. I would appreciate before point as duplicate take in …

java eclipse maven java-9 module-info
How to get Eclipse to stop asking to create a module-info java file on new Java project creation?

Everytime I try to create a new java project Eclipse keeps asking if I want to add a module-info java …

java eclipse module-info
Unable to export a package from java.base module

Using IDEA-EAP for JDK9 development experiments. I am getting the following error - Error:(3, 20) java: package jdk.internal.misc is …

java java-9 java-platform-module-system java-module module-info
What's the difference between requires and requires transitive statements in Java 9?

What's the difference between requires and requires transitive module statements in module declaration? For example: module foo { requires java.base; …

java java-9 java-module requires module-info
Unable to derive module descriptor for auto generated module names in Java 9?

My project depends on Netty Epoll transport. Here is dependency: <dependency> <groupId>io.netty</groupId&…

java netty java-9 java-module module-info
Error: Main.class found in top-level directory (unnamed package not allowed in module)

Trying to update an application to Java 11 and after sorting through hell with modules I thought I had got rid …

java intellij-idea java-module openjfx module-info
What is an open module in Java 9 and how do I use it?

What is the difference between a module with the open keyword before it and without it? For instance: open module …

java java-9 java-module module-info
Maven - How to remove module-info.class warning for shaded .jar?

So here's my problem... I'm packaging a Spring Boot app into an uber jar using the maven-shade plugin. Simple, right? …

java maven maven-shade-plugin uberjar module-info
Unnamed module interaction with named module by ServiceLoader::load

I have a project like this: \---main \---src \---com.foo \---UnnamedStart.java \---api \---src \---com.foo.api \---ApiInterface.java \---module-info.…

java java-9 java-module module-info