Код: Выделить всё
xerces
xercesImpl
2.12.2
xml-apis
xml-apis
Код: Выделить всё
open module de.powerstat.fb.mini
{
exports de.powerstat.fb.mini;
requires transitive java.xml;
requires org.apache.logging.log4j;
requires transitive de.powerstat.validation;
requires transitive org.apache.httpcomponents.httpclient;
requires org.apache.httpcomponents.httpcore;
requires org.apache.commons.codec;
requires com.github.spotbugs.annotations;
requires org.junit.jupiter.api;
requires org.junit.jupiter.params;
requires org.junit.platform.launcher;
requires org.junit.platform.suite.api;
}
Код: Выделить всё
[INFO] --- surefire:3.5.0:test (default-test) @ miniapi ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[ERROR] Error occurred during initialization of boot layer
[INFO] Results:
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[WARNING] Corrupted channel by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file C:\MyProject\target\surefire-reports\2024-09-28T15-18-12_539-jvmRun1.dumpstream
Код: Выделить всё
Stream 'Error occurred during initialization of boot layer'.
Stream 'java.lang.module.ResolutionException: Modules jdk.xml.dom and xercesImpl export package org.w3c.dom.html to module io.cucumber.core.gherkin.messages'.
Код: Выделить всё
jdk.xml.dom:
org.w3c.dom.css
org.w3c.dom.html
org.w3c.dom.stylesheets
org.w3c.dom.xpath
Код: Выделить всё
xercesImpl-2.12.2.jar:
org.apache.*
org.w3c.dom.html
Есть идеи обходного пути? Или, может быть, xerces непригоден для использования с системой модулей Java?
Может ли Saxon стать заменой, работающей с системой модулей Java? Или есть другое решение?
Подробнее здесь: https://stackoverflow.com/questions/790 ... -module-io