Java classpath + split dependency error

Hi all,

Following the minimal example provided at Embedding LanguageTool in Java applications | dev.languagetool.org, I added the following Maven dependency to my pom.xml:
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-en</artifactId>
<version>6.6</version>
</dependency>

and attempted to do the basic text checking with a JLanguageTool object.

This builds but throws an error: Class ‘org.languagetool.language.English’… not found in classpath.

Adding requires language.en to module-info resolves this error, but causes build to fail with: java: module org.apache.poi.poi reads package org.languagetool.chunking from both languagetool.core and language.en

I understand this could be a split dependency issue? Similar to this [Java 11] Dependencies & Requirements and this [jdk11] problem with dependencies · Issue #3303 · languagetool-org/languagetool · GitHub.

Haven’t found a way to resolve this so far. Would very much appreciate some help!!

Many thanks in advance.