Hi again,
FWIW, it looks like we have two options here:
1) Upgrade jena to 2.11.0 . This would be something to do at some point.
Unfortunately this implies switch the dependencies to the org.apache.* one.
Package names should be the same - not 100% sure.
2) Downgrade slf4j to 1.5.8 and plane the jena upgrade for a future
iteration. Is there a special reason why we need 1.6.1 *now*?

The first may be more time consuming because would affect probably a large
part of the codebase.
I will try to do the second and see what happens.

Again, if someone else has some ideas on this is welcome.

Bests,
Enrico


On 10 November 2013 19:11, enridaga <enrid...@apache.org> wrote:

> 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
>
>
>
>


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

Reply via email to