Modules A and B export some.package package to module C in Java 9

I have a module module - a, module-b and module-c. When I launch my application, I get the following:

Error initializing boot layer java.lang.module.ResolutionException: Modules module-a and module-b export package some.package to module module-c

What does this mean, given that module-c does not import some.packageand how to fix it?

+4
source share
1 answer

, split package, , (-a -b ) (some.package). . , , .

- , . , , , API.

+4

Source: https://habr.com/ru/post/1685867/


All Articles