Playframework 2.4-如何包括scalaxb
build.sbt代码: 我已从中复制了代码 packageName in(Compile,scalaxb):=“generated”此行引发以下错误Playframework 2.4-如何包括scalaxb,scala,playframework,playframework-2.4,scalaxb,Scala,Playframework,Playframework 2.4,Scalaxb,build.sbt代码: 我已从中复制了代码 packageName in(Compile,scalaxb):=“generated”此行引发以下错误 error: reference to packageName is ambiguous; it is imported twice in the same scope by import ScalaxbKeys._ and import _root_.com.typesafe.sbt.SbtNativePackager.autoImport._
error: reference to packageName is ambiguous;
it is imported twice in the same scope by
import ScalaxbKeys._
and import _root_.com.typesafe.sbt.SbtNativePackager.autoImport._
packageName in (Compile, scalaxb) := "generated"
^
如果我对该行进行注释,wsdl文件将不会编译为scala文件。更改
导入ScalaxbKeys.\uuz
导入ScalaxbKeys.{packageName=>scalaxbPackageName,{u}
及
packageName in(编译,scalaxb):=“已生成”
到(编译,scalaxb)中的scalaxbPackageName:=“已生成”
error: reference to packageName is ambiguous;
it is imported twice in the same scope by
import ScalaxbKeys._
and import _root_.com.typesafe.sbt.SbtNativePackager.autoImport._
packageName in (Compile, scalaxb) := "generated"
^