You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.
I am roughly following the code in a test class in order to write phenopackets from another Java app with geno pheno information.
This method:
JsonGenerator.render(packet);
In the above, "packet" is a Phenopacket object that has been initialized like this:
PhenoPacket packet = new PhenoPacket.Builder().title(title).addDisease(disease).addPerson(person).addDisease(disease).addPhenotypeAssociation(association).setVariants(varlist).build();
Using the debugger, as far as I can see all of these items were successfully initialized.
Looking in the current pom file, I see that various Jackson JSON package versions are being excluded. I am wondering if perhaps the error message is related to that (but I know little about the Jackson package).
--
The text was updated successfully, but these errors were encountered:
Can you send me a link to your pom? Its almost certainly a Jackson version incompatibility. Perhaps you're including some of the excluded libs in your own pom and these are incompatible with the requirements of the Json-LD versions.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am roughly following the code in a test class in order to write phenopackets from another Java app with geno pheno information.
This method:
JsonGenerator.render(packet);
leads to
java.lang.NoSuchMethodError: com.fasterxml.jackson.annotation.JsonInclude$Value.merge(Lcom/fasterxml/jackson/annotation/JsonInclude$Value;Lcom/fasterxml/jackson/annotation/JsonInclude$Value;)Lcom/fasterxml/jackson/annotation/JsonInclude$Value;
a similar error occurs with the Yaml generator.
In the above, "packet" is a Phenopacket object that has been initialized like this:
PhenoPacket packet = new PhenoPacket.Builder().title(title).addDisease(disease).addPerson(person).addDisease(disease).addPhenotypeAssociation(association).setVariants(varlist).build();
Using the debugger, as far as I can see all of these items were successfully initialized.
Looking in the current pom file, I see that various Jackson JSON package versions are being excluded. I am wondering if perhaps the error message is related to that (but I know little about the Jackson package).
--
The text was updated successfully, but these errors were encountered: