Binary Incompatibility?

24 views
Skip to first unread message

linjie nie

unread,
Jan 19, 2016, 4:32:59 AM1/19/16
to Unfiltered
Hi All - 
got error when use these versions 
Any advise?
Thanks a lot.

compile 'net.databinder:unfiltered-json4s_2.11:0.8.4'
compile 'org.json4s:json4s-native_2.11:3.3.0'


Exception in thread "pool-1-thread-1" java.lang.NoSuchMethodError: org.json4s.native.JsonMethods$.render(Lorg/json4s/JsonAST$JValue;)Lscala/text/Document;
at unfiltered.response.Json$.jsonToString(response.scala:7)
at unfiltered.response.Json$.apply(response.scala:10)
at domain.plan.Plan$$anonfun$intent$1$$anonfun$applyOrElse$1.apply(Plan.scala:25)
at domain.plan.Plan$$anonfun$intent$1$$anonfun$applyOrElse$1.apply(Plan.scala:22)
at server.JsonRestHelper$class.checkAcceptJson(JsonRestHelper.scala:25)
at domain.plan.Plan.checkAcceptJson(Plan.scala:15)
at domain.plan.Plan$$anonfun$intent$1.applyOrElse(Plan.scala:21)
at domain.plan.Plan$$anonfun$intent$1.applyOrElse(Plan.scala:19)
at scala.PartialFunction$Lifted.apply(PartialFunction.scala:223)
at scala.PartialFunction$Lifted.apply(PartialFunction.scala:219)
at unfiltered.response.Pass$PartialAttempt.attemptWithPass(pass.scala:72)
at unfiltered.response.Pass$PassingAttempt$class.attempt(pass.scala:65)
at unfiltered.response.Pass$PartialAttempt.attempt(pass.scala:67)
at unfiltered.response.Pass$$anonfun$fold$1.apply(pass.scala:48)
at unfiltered.response.Pass$FunctionAttempt.apply(pass.scala:77)
at unfiltered.netty.cycle.Plan$$anonfun$channelRead$1$$anonfun$apply$mcV$sp$2$$anonfun$apply$mcV$sp$3.apply$mcV$sp(plans.scala:70)
at unfiltered.netty.cycle.Plan$class.catching(plans.scala:44)
at domain.plan.Plan.catching(Plan.scala:15)
at unfiltered.netty.cycle.Plan$$anonfun$channelRead$1$$anonfun$apply$mcV$sp$2.apply$mcV$sp(plans.scala:69)
at unfiltered.netty.cycle.DeferralExecutor$$anon$1.run(deferrals.scala:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Reply all
Reply to author
Forward
0 new messages