Sorry forgot, root cause = A message body writer for Java type, class com.github.jmchilton.blend4j.galaxy.beans.History, and MIME media type, application/json, was not found On 11 July 2013 11:37, Eric Kuyt <eric.kuijt@wur.nl> wrote:
Hello all,
I'm trying to implement blend4j in a java application. for this I cloned the source, fetched the dependencies and added a maven assembly plugin to assemble a jar file with dependencies. This jar I put in my classpath.
Now fetching histories works, but creating a new one fails. Online I see a lot of jersey users have this problem and it seems like jersey-json is not available, but jersey-json is packaged in the jar.
Anyone else have this problem?
@John maybe you have better practices? I would like to have blend4j in my maven dependencies, but not build my own nexus.
Thanks,
Eric
-- Central Veterinary Institute of Wageningen UR (CVI) Department of Infection Biology PO box 65, 8200 AB Lelystad, NL Visiting address: ASG, Edelhertweg 15, 8219 PH Lelystad
Tel: +31-(0)320-293391 Fax: +31-(0)320-238153 E-mail: eric.kuijt@wur.nl Web: http://www.cvi.wur.nl
-- Central Veterinary Institute of Wageningen UR (CVI) Department of Infection Biology PO box 65, 8200 AB Lelystad, NL Visiting address: ASG, Edelhertweg 15, 8219 PH Lelystad Tel: +31-(0)320-293391 Fax: +31-(0)320-238153 E-mail: eric.kuijt@wur.nl Web: http://www.cvi.wur.nl