我坚持使用Play 2.2.6和Scala 2.10进行项目。 sbt-native-packager
0.6.4兼容,但有一个我无法忍受的错误(通过scriptClasspath
抛出java.lang.IllegalArgumentException: character to be escaped is missing
的相对路径。我看到这在sbt-native-packager
0.7.0得到修复。
不幸的是,当我使用sbt stage
0.7.0或更高版本尝试sbt-native-packager
任务时,我得到:
java.lang.RuntimeException: Duplicate mappings:
/work/myProject/target/universal/stage/lib/org.scala-lang.scala-library-2.10.3.jar
from
/opt/play-2.2.6/repository/local/org.scala-lang/scala-library/2.10.3/jars/scala-library.jar
/home/mslinn/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.10.3.jar
建议?