Hi all,

Working on STANBOL-1174, I am having the following exception from a
stanbol-reasoners JAX-RS resource (cropped stack trace):

10.11.2013 17:55:05.757 *WARN* [qtp362287566-27]
org.eclipse.jetty.servlet.ServletHandler /reasoners/rdfs/classify
org.glassfish.jersey.server.ContainerException:
java.lang.NoClassDefFoundError: org/slf4j/spi/LocationAwareLogger
at
org.glassfish.jersey.servlet.internal.ResponseWriter.rethrow(ResponseWriter.java:230
...
at org.apache.jena.riot.web.HttpOp.ensureClient(HttpOp.java:1044)
...
at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:229)
...
at
org.apache.stanbol.reasoners.web.input.provider.impl.UrlInputProvider.getInput(UrlInputProvider.java:105)
...

After a short inspection, I found that the dependency com.hp.hpl.jena-2.6.3
depends on slf4j-1.5.8 [1] which is incompatible with slf4j-1.6.1 [2],
which we use as reference version [3].
Clerezza trunk is using Jena 2.11, so maybe our situation is temporary?
Should we migrate to a more recent version of Jena soon?
If we cannot do it soon, does anybody know a temporary fix?

Cheers,
Enrico


[1] http://repo1.maven.org/maven2/com/hp/hpl/jena/jena/2.6.3/jena-2.6.3.pom
[2]
http://upstream-tracker.org/java/compat_reports/slf4j/1.5.11_to_1.6.0/bin_compat_report.html
[3] http://svn.apache.org/repos/asf/stanbol/trunk/parent/pom.xml

-- 
------------------------------------------------------------------------------
enridaga

Reply via email to