Skip to content
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

gson library version too low #3

Open
MarkRx opened this issue Jul 6, 2017 · 1 comment
Open

gson library version too low #3

MarkRx opened this issue Jul 6, 2017 · 1 comment

Comments

@MarkRx
Copy link

MarkRx commented Jul 6, 2017

This plugin is transitively using gson 2.2.4. Since plugins share the same classloader it can break other plugins that rely on newer versions of gson depending on the order that libraries are loaded. Here is an example from an in-house plugin:

java.lang.NoSuchMethodError: com.google.gson.JsonArray.add(Ljava/lang/String;)V

That method was added in gson 2.3.

@jdewinne
Copy link
Contributor

jdewinne commented Jul 6, 2017

At this moment, gson 2.2.4 is packaged in the xldp file. So I would expect this to work. Are you getting any errors/exceptions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants