-
Notifications
You must be signed in to change notification settings - Fork 35
scala 2.11.6 + Play framework 2.4.1 support #58
Comments
I also have the same conflict with scalatest. It should go through if you remove the conflict warning. |
Hi Guys, SORM is intended to be a community project. Just fork it and fix the issue. Because I'm afraid I won't have time to jump on it any time soon. |
@nikita-volkov
Changing from [2.10,3] to [2.10,2.11] in the pom entry of I will submit a PR soon. |
@evansb It shouldn't be the cause. "embrace" uses a version range |
BTW guys, I suspect this might not be an issue of SORM at all. Here's a possible fix: http://stackoverflow.com/questions/16925870/using-sorm-with-play-framework-causes-reflection-exceptions-to-be-thrown |
Umm sorry I am not familiar of how transitive dependency get resolved but I actually just fixed the problem by specifying embrace's dependency manually. I double checked my graph and the 2.12 is indeed coming from embrace.
|
hi evansb, can you help me solve this issue.. i mean what did you do to solve this issue? -R |
SORM is the database of choice in the video tutorial on the front page of https://www.playframework.com, but it doesn't actually work due to this conflicting cross-version suffixes issue. |
Evan, thank you very, very much! That solved my problem and I don't know how long it would have taken me to get there otherwise. |
@aholland You should send a pull request on Embrace. I'm no longer developing in Scala so I might not have the time to resolve this. |
Hi all,
I am using scala 2.11.6 + Play framework 2.4.1 , i am getting the following errors 👎
Modules were resolved with conflicting cross-version suffixes in {file:/home/ranganaths/projects/Meetions/}root:
[error] org.scala-lang.modules:scala-xml _2.11, _2.12.0-M1
[error] org.scala-lang.modules:scala-parser-combinators _2.11, _2.12.0-M1
java.lang.RuntimeException: Conflicting cross-version suffixes in: org.scala-lang.modules:scala-xml, org.scala-lang.modules:scala-parser-combinators
at scala.sys.package$.error(package.scala:27)
at sbt.ConflictWarning$.processCrossVersioned(ConflictWarning.scala:46)
at sbt.ConflictWarning$.apply(ConflictWarning.scala:32)
at sbt.Classpaths$$anonfun$66.apply(Defaults.scala:1164)
at sbt.Classpaths$$anonfun$66.apply(Defaults.scala:1161)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
at sbt.std.Transform$$anon$4.work(System.scala:63)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
at sbt.Execute.work(Execute.scala:235)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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)
error Conflicting cross-version suffixes in: org.scala-lang.modules:scala-xml, org.scala-lang.modules:scala-parser-combinators
Just wanted to checkk the compatibility with scala and play framework.
thank you,
Ranganath.S
The text was updated successfully, but these errors were encountered: