Description
Building the reasoners.hermit bundle (in the contrib directory) against the most recent parent in the trunk causes this error to be thrown on bundle activation:
================
ERROR: Bundle org.apache.stanbol.reasoners.hermit [175]: Error starting/stopping bundle. (org.osgi.framework.BundleException: Constraint violation for package 'org.semanticweb.owlapi.util' when resolving module 175.0 between existing export 175.0.org.semanticweb.owlapi.util NO BLAME and uses constraint 59.0.org.semanticweb.owlapi.util BLAMED ON [[175.0] package; (&(package=org.apache.stanbol.reasoners.owlapi)(version>=0.10.0)), [101.0] package; (&(package=org.semanticweb.owlapi.util)(version>=0.10.0))])
org.osgi.framework.BundleException: Constraint violation for package 'org.semanticweb.owlapi.util' when resolving module 175.0 between existing export 175.0.org.semanticweb.owlapi.util NO BLAME and uses constraint 59.0.org.semanticweb.owlapi.util BLAMED ON [[175.0] package; (&(package=org.apache.stanbol.reasoners.owlapi)(version>=0.10.0)), [101.0] package; (&(package=org.semanticweb.owlapi.util)(version>=0.10.0))]
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3449)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
at org.apache.felix.framework.Felix.setBundleStartLevel(Felix.java:1333)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:270)
at java.lang.Thread.run(Thread.java:680)
================
If the same bundle is compiled using the 0.9.0-incubating parent instead, the resulting bundle and its component seems to activate fine.
Although the HermiT bundle is in the contrib folder, it is still maintained. It is not built by default due to license issues, but it must be working nonetheless, as we have no other OWL 2 reasoner.
Attachments
Issue Links
- blocks
-
STANBOL-664 Fix reasoner modules moved in contrib so that they can build from there
- Closed
-
STANBOL-626 Update OWL-API to version 3.3
- Closed
-
STANBOL-177 Remove kres profile from Stanbol reactor POM
- Closed