1

Я обновляю из из игры 2.1 до 2.3Sbt: ResolvedException - Нерешенное PlayFramework зависимости 2.3.6

Все работает хорошо, за исключением плагина Emailer см консоли ошибок ниже. Невозможно загрузить плагин плей-плагинов-почтовик для версии 2.11.1 лестницу

Пожалуйста советы о том, как идти об этом

"com.typesafe" %% "play-plugins-mailer" % "2.1.0" 

info] Resolving com.typesafe#play-plugins-mailer_2.11;2.1.0 ... 

[warn] ==== Typesafe Repo: tried 
[warn] http://repo.typesafe.com/typesafe/releases/com/typesafe/play-plugins-mailer_2.11/2.1.0/play-plugins-mailer_2.11-2.1.0.pom 
[info] Resolving jline#jline;2.11 ... 
[warn] :::::::::::::::::::::::::::::::::::::::::::::: 
[warn] ::   UNRESOLVED DEPENDENCIES   :: 
[warn] :::::::::::::::::::::::::::::::::::::::::::::: 
[warn] :: com.typesafe#play-plugins-mailer_2.11;2.1.0: not found 
[warn] :::::::::::::::::::::::::::::::::::::::::::::: 
[trace] Stack trace suppressed: run last *:update for the full output. 
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe#play-plugins-mailer_2.11;2.1.0: not found 
[error] Total time: 14 s, completed Nov 19, 2014 5:04:00 PM 

SBT file below 

name := """Codi""" 

version := "1.0-SNAPSHOT" 

resolvers += "Typesafe Repo" at "http://repo.typesafe.com/typesafe/releases/" 

lazy val root = (project in file(".")).enablePlugins(PlayJava) 

scalaVersion := "2.11.1" 

libraryDependencies ++= Seq(

    "mysql" % "mysql-connector-java" % "5.1.18", 
     "org.json" % "json" % "20131018", 
     "com.google.code.gson" % "gson" % "1.7.1", 
     "org.apache.directory.studio" % "org.apache.commons.io" % "2.4", 
     "org.codehaus.jackson" % "jackson-mapper-asl" % "1.7.7", 
     "commons-codec" % "commons-codec" % "1.5", 
     "com.typesafe" %% "play-plugins-mailer" % "2.1.0", 
     "com.typesafe.play.plugins" %% "play-plugins-util" % "2.3.0", 
     "org.apache.commons" % "commons-email" % "1.3.2", 
    javaCore, 
     javaJdbc, 
     javaEbean, 
     cache, 
     javaWs 

) 


Your help is highly appreciated. 

Seroney 

ответ

2

Ваш play-plugins-mailer плагин использует версию 2.1.0, которая не построен для Scala 2.11. Самая новая версия построена на 2.11, поэтому вы должны обновить:

"com.typesafe.play.plugins" %% "play-plugins-mailer" % "2.3.1"