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

Incompatibility between 3.2.10 and 3.2.11 #212

Closed
mohnishkodnani opened this issue Feb 13, 2015 · 9 comments

Comments

@mohnishkodnani
Copy link

commented Feb 13, 2015

Hi,
I recently am working on a project where I started using 3.2.11. Then I integrated with Apache Spark which probably internally uses 3.2.10.
Once I downgrade to 3.2.10, everything from Spark side works, however, I am using some of the features in 3.2.11
I get the following error when I use 3.2.11 with Apache Spark.
java.lang.NoSuchMethodError: org.json4s.jackson.JsonMethods$.render(Lorg/json4s/JsonAST$JValue;)Lorg/json4s/JsonAST$JValue;

The Spark Code is calling def json: String = compact(render(jsonValue))

I checked the tags on the json4s jackson git repo and it seems in 3.2.11 the render function is taking implicit parameters for Formats which it wasnt in 3.2.10.

Is this a known issue. Shouldnt the API is compatible between minor versions ?

thanks
mohnish

@NikitaPanteleev

This comment has been minimized.

Copy link

commented Feb 25, 2015

I encountered this problem too. Thx for the hint to downgrade to 3.2.10!

yanns added a commit to sphereio/sphere-scala-libs that referenced this issue Feb 26, 2015
revert to 3.2.10 to avoid this.

json4s/json4s#212
@meniluca

This comment has been minimized.

Copy link

commented Mar 5, 2015

You saved my life, thank you very much. Do you think in next release it will be solved?

@alexanderdean

This comment has been minimized.

Copy link

commented May 4, 2015

Thanks so much for posting this!

@foovungle

This comment has been minimized.

Copy link

commented May 8, 2015

Thank you also! I spent an hour trying to figure this one out!

@nicky-zs

This comment has been minimized.

Copy link

commented May 12, 2015

I also met this problem using json4s-jackson 3.2.11 with spark 1.3.1 on scala 2.10.4.
Thank you so much for the downgrade hint.

@seratch

This comment has been minimized.

Copy link
Member

commented Sep 3, 2015

Since incompatibility between 3.2.10 and 3.2.11 was a pain for many developers, we're going to use MiMa since 3.3.0 as proposed here. Let me close this issue now.

@DoubleFaults

This comment has been minimized.

Copy link

commented Jan 8, 2017

Thank you for your hint, you saved my life

@chuwy chuwy referenced this issue Jan 19, 2017
8 of 10 tasks complete
@hellokangning

This comment has been minimized.

Copy link

commented Mar 1, 2017

Thank you, I just met this issue

@ericxsun

This comment has been minimized.

Copy link

commented Jan 30, 2019

Thank you for your hint, you saved my life

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
10 participants
You can’t perform that action at this time.