Details
-
Task
-
Status: Resolved
-
Minor
-
Resolution: Not A Problem
-
None
-
None
-
None
-
Unknown
Description
Caused by: java.lang.RuntimeException: Could not instantiate serializer com.sun.org.apache.xml.internal.serialize.XMLSerializer: java.lang.IllegalAccessException: class org.exolab.castor.xml.BaseXercesJDK5Serializer cannot access class com.sun.org.apache.xml.internal.serialize.XMLSerializer (in module java.xml) because module java.xml does not export com.sun.org.apache.xml.internal.serialize to unnamed module @49122e40 at org.exolab.castor.xml.BaseXercesJDK5Serializer.<init>(BaseXercesJDK5Serializer.java:59) at org.exolab.castor.xml.XercesJDK5Serializer.<init>(XercesJDK5Serializer.java:29) at org.exolab.castor.xml.XercesJDK5XMLSerializerFactory.getSerializer(XercesJDK5XMLSerializerFactory.java:34) at org.exolab.castor.xml.util.XMLParserUtils.getSerializer(XMLParserUtils.java:259) at org.castor.xml.AbstractInternalContext.getSerializer(AbstractInternalContext.java:370) at org.exolab.castor.xml.Marshaller.configureSerializer(Marshaller.java:477) at org.exolab.castor.xml.Marshaller.setWriter(Marshaller.java:423) at org.apache.camel.dataformat.castor.AbstractCastorDataFormat.marshal(AbstractCastorDataFormat.java:76)
CrossRef: https://github.com/wildfly-extras/wildfly-camel/issues/1262
Attachments
Issue Links
- relates to
-
CAMEL-10141 Test Apache Camel on Java 9
- Resolved