karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thully <tmh...@eng.ucsd.edu>
Subject Re: Application using Karaf - problems with packages not being exported by default configuration
Date Fri, 26 Aug 2016 23:33:15 GMT
Also, one of our app developers has posted their attempt to make a bundle
that depends on taverna-robundle, while excluding Xerces from the embedded
dependencies and importing it from the system packages. 

However, this does not work - the following exception occurs when Jena tries
to use a Xerces class:
java.lang.NoClassDefFoundError: org/apache/xerces/util/XMLChar
	at org.apache.jena.rdf.model.impl.Util.notNameChar(Util.java:119)
	at org.apache.jena.rdf.model.impl.Util.splitNamespaceXML(Util.java:77)
	at org.apache.jena.graph.Node_URI.getLocalName(Node_URI.java:80)

It seems like this should work, as org.apache.xerces.util is in
org.osgi.system.packages.extra, and is imported using Import-Package in the
bundle manifest.

The source code is at:
https://github.com/matthiaskoenig/cy3robundle





--
View this message in context: http://karaf.922171.n3.nabble.com/Application-using-Karaf-problems-with-packages-not-being-exported-by-default-configuration-tp4047592p4047722.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Mime
View raw message