Java 9 automatic module dependencies cannot be resolved / module not found
问题 I'm trying to migrate some legacy applications to the new Java 9 module system, to strengthen its encapsulation. I'm starting from the outside-in, with the assumption that classes on the periphery will have the least external dependencies. As you'd expect, I've declared a very open module to start with: module com.example.user { exports com.example.user; } This instantly breaks the entire project (inside all classes), when suddenly every import for an external dependency no longer resolves