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)

see full stacktrace here

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

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -