While migrating a project from java 8 to java 11 using the java module system we noticed two warnings due to used library dom4j (version 2.1.3).
Problem