با عرض سلام
من پروژه ای را با play framework شروع کردم. در این پروژه از japid 0.9.16 و play authenticate 0.7.0 و deadbolt 2.4.0 استفاده شده.
توسط sbt، خطوط کد زیر build شدند:
lazy val `test-sample` = (project in file("."))
.enablePlugins(PlayJava, PlayEbean, SbtWeb)
scalaVersion := "2.11.6"
libraryDependencies ++= Seq( javaCore ,
javaJdbc ,
cache ,
javaWs ,
"org.postgresql" % "postgresql" % "9.4-1201-jdbc41",
"be.objectify" %% "deadbolt-java" % "2.4.0",
"com.feth" %% "play-authenticate" % "0.7.0-SNAPSHOT",
"japid42" % "japid42_2.10" % "0.9.16",
"org.webjars" % "bootstrap" % "3.2.0"
)
resolvers += "Japid repository" at "https://github.com/branaway/branaway.github.com/tree/master/releases/"
بعد از refresh کردن sbt خطای زیر نمایش داده میشود:
Error:Error while importing SBT project:
...
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] sbt.ResolveException: unresolved dependency: japid42#japid42_2.10;0.9.16: not found
[error] Use 'last' for the full log.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384M; support was removed in 8.0
See complete log in C:\Users\PAYAM\.IntelliJIdea14\system\log\sbt.last.log
باید از repository دیگری استفاده کنم؟
یا از نسخه های قدیمی تر dependencyها استفاده کنم که با scala 2.10 سازگار باشند؟