Does maven support module dependencies from two sides?
I have a crawler-core module, and a crawler-module. I need to run some crawler-module methods from crawler-core. And the crawler-module methods must also call the crawler-core methods.
And at the same time adding the crawler-module dependency to the crawler-core, also the crawler-core to the crawler-module, an error occurs during the execution of the main method which is in the crawler-core module. Mistake:
Error: java: annotation Please ensure that all modules from cycle [crawler-core, olx-module] are excluded from annotation processing
How can this problem be solved ? Maybe this is a bad project design and you need to do something different?