When running the CXF DOSGi build with Java 8 I get the exception below.
I think Aegis does not find the SchemaFactory. As a workaround I propose to move the line
SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
into the try catch block. So Aegis should then work without schema support. A better solution might be to use a suitable thread context classloader or another way to load the factory.
I would be happy about suggestions and will implement the workaround for now.
Caused by: java.lang.IllegalArgumentException: No SchemaFactory that implements the schema language specified by: http://www.w3.org/2001/XMLSchema could be loaded
... 26 more