Can you give a complete stack trace?

ajs6f

> On Dec 3, 2017, at 1:27 PM, Martynas Jusevičius <[email protected]> 
> wrote:
> 
> Hi,
> 
> I have noticed that after I upgraded to Jena 3.0.1 some time ago, JSON-LD
> writer stopped working. This is due to
> 
> Exception occurred in target VM:
> org/apache/http/impl/client/SystemDefaultHttpClient
> java.lang.NoClassDefFoundError:
> org/apache/http/impl/client/SystemDefaultHttpClient
> at com.github.jsonldjava.core.JsonLdOptions.<init>(JsonLdOptions.java:52)
> 
> in JsonLDWriter.serialize().
> 
> I had replaced all Jena's Apache Client usages with Jersey client, so this
> was an unpleasant surprise.
> 
> Why would a writer make HTTP calls? I guess it attempts to load some
> @context or something, but this does not make sense when writing?
> 
> I know jsonld-java is a 3rd party library, so I guess my options to disable
> the HTTP call are limited? Would a newer version make it possible?
> 
> 
> Martynas

Reply via email to