I have a project with 2 modules in it.
The base module has 2 libraries in it (both marked Export)
The second library is a fix for the first and contains some classes with the same name as the first library.
Therefore the 2nd library (the fix) is higher up the classpath.
The other module has a dependency on the base module.
If I create a class in the base module that refers to one of the classes in the fix, IDEA resolves it correctly.
However, if I copy and paste that class to the other module, IDEA resolves the class in the first library and not from the fix.
Is the order of the classpath not inherited when you click module dependency on the dependencies tab?