InvocationTargetException when compiling module with module-info.java

Converted module development to use JPMS (module-info.java) and after adding the suggested “requires” directives, this popped up:
java: java.lang.reflect.InvocationTargetException
Modules common and gateway.api export package com.inductiveautomation.ignition.gateway.util to module org.apache.commons.collections4

I can have either “requires common” or “requires gateway.api” but not both since these two modules both export …ignition.gateway.util

If I don’t include “requires gateway.api” I can’t import DatasourceManager nor ManagedTagProvider
I can build without using JPMS (no module-info.java) but I thought I’d pass this along in case it’s interesting.

You should build without JPMS because we make zero effort to play into the module system.