I am migrating my Web project into java modules (JigSaw) with Java 17 and eclipse. One of my projects (ProjectA) defines Lombok as a required static resource (“requires static lombok;”) in the module-info.java.
The other project (ProjectB) which is using project ProjectA is now throwing an error:
java.lang.module.FindException: Module lombok not found, required by ProjectA.
ProjectA is referenced in the module-info.java of ProjectB
“requires ProjectA;”.
As I understood “required static” defines a compile-time dependency. Why should ProjectB now have to provide this library?
Regards