osgi - No SchemaFactory that implements the schema language specified by: http://www.w3.org/2001/XMLSchema could be loaded -
when trying expose service aegis databinding in cxf dosgi error in java 8. in java 7 works fine.
caused by: java.lang.illegalargumentexception: no schemafactory implements schema language specified by: http://www.w3.org/2001/xmlschema loaded @ javax.xml.validation.schemafactory.newinstance(schemafactory.java:215) @ org.apache.cxf.aegis.type.xmltypecreator.(xmltypecreator.java:122)
i think reason code not see impl class com.sun.org.apache.xerces.internal.jaxp.validation.xmlschemafactory
.
any ideas how fix this?
btw. exception can observed running cxf-dosgi build in java 8.
i still not have found real solution this. have committed workaround on cxf master ignore exception in static code. aegis binding not schema checked @ least works. see cxf-6959.
i happy hints working again.
Comments
Post a Comment