Hi folks,
I ran into some issues with getting my stuff to work with a xerces
dependency in a karaf 3.0.1 assembly.
Initially it turned out that I had 2 different xerces libraries. One as
part of karaf in lib/endorsed (KARAF-2446) and the other was one of my
dependencies (using servicemix). Getting rid of the servicemix xerces
bundle resolved some of my errors but now the following error popped up
for various xerces classes:
java.lang.NoClassDefFoundError: org/apache/xerces/util/XMLChar
I managed to get rid of these by adding "org.apache.xerces.*" to the
org.osgi.framework.bootdelegation property in config.properties .
Is this the right way to solve this? And if so, shouldn't this
additional entry be part Karaf itself?
Regards,
misl