I'm trying to do a modular application, and I'm having a problem because I have two modules, where one of them depends on the other.
For example: module 1 has a class that imports classes from module 2.
I've put the following line in my Manifest.txt of module 1:
Class-Path: modulo_2.jar
... but I'm getting a error when I create the jar because I can't resolve the import of the classes from the module 2 that I need in the module 1. Despite the errors the jar is being created. After I deploy the project, I still have the same error saying that my classes can't resolve the imports, anyone have any idea on how can I make this work.