-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoSuchMethodError with Gson #130
Comments
The problem is that |
|
Can someone update the dependency and make the minor code changes necessary? Shouldn't be too much work 👍 |
It looks like you already have a PR over in the relevant project ( |
Hm, guess the project(s) more or less unmaintained. I saw that there's also a Kotlin kernel I maybe could use instead. |
While we wait for a proper fix, here is a horrible hack that appears to work for me.
What this recipe does is:
|
I'm getting a NoSuchMethodError when using the
JsonParser.parseString(String)
method from Google Gson to parse JSON:I'm using this command-sequence to start the kernel and download a JAR
java.lang.NoSuchMethodError: 'com.google.gson.JsonElement com.google.gson.JsonParser.parseString(java.lang.String)'
at org.sirix.access.trx.node.json.JsonNodeReadOnlyTrxImpl.getUpdateOperations(JsonNodeReadOnlyTrxImpl.java:113)
You can see the error in the following Notebook: https://colab.research.google.com/drive/1NNn1nwSbK6hAekzo1YbED52RI3NMqqbG#scrollTo=RwIAuN1IKtUo
Whenever you execute a cell with a
jn:diff
-function.The text was updated successfully, but these errors were encountered: