Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
3.0.0
-
None
-
None
Description
The problem is that XStreams tries to access "comparator" field of java.util.TreeMap and this is forbidden in Java9
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module Happens while initializing org.apache.maven.plugins.war.util.WebappStructureSerializer
A possibile workaround is to change the initialization of XStreams in a way that only useful converters are registers, thus bypassing the problem