-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Наверное, что-то с моим окружением. Подскажите, плз, с чем это может быть связно.
Запускаю ./sbt clean war, получаю:
[info] Compiling 88 Scala sources and 2 Java sources to /home/vyacheslav/tmp/pplc/antarticle-scala/target/scala-2.10/classes...
[error]
[error] while compiling: /home/vyacheslav/tmp/pplc/antarticle-scala/target/scala-2.10/src_managed/main/views/html/userRoles.template.scala
[error] during phase: jvm
[error] library version: version 2.10.3
[error] compiler version: version 2.10.3
[error] reconstructed args: -encoding utf8 -bootclasspath
........................
[error]
[error] last tree to typer: Literal(Constant(play.api.templates.Html))
[error] symbol: null
[error] symbol definition: null
[error] tpe: Class(classOf[play.api.templates.Html])
[error] symbol owners:
[error] context owners: anonymous class anonfun$f$1 -> package html
[error]
[error] == Enclosing template or block ==
[error]
[error] Template( // val <local $anonfun>: , tree.tpe=views.html.anonfun$f$1
[error] "scala.runtime.AbstractFunction2", "scala.Serializable" // parents
[error] ValDef(
[error] private
[error] "_"
[error]
[error]
[error] )
[error] // 3 statements
[error] DefDef( // final def apply(page: models.Page,search: Option): Function2
[error] final
[error] "apply"
[error] []
[error] // 1 parameter list
[error] ValDef( // page: models.Page
[error]
[error] "page"
[error] // tree.tpe=models.Page
[error]
[error] )
[error] ValDef( // search: Option
[error]
[error] "search"
[error] // tree.tpe=Option
[error]
[error] )
[error] // tree.tpe=Function2
[error] Typed( // tree.tpe=Function2
[error] Apply( // def (arg$outer: views.html.anonfun$f$1,page$2: models.Page,search$2: Option): views.html.anonfun$apply$6, tree.tpe=views.html.anonfun$apply$6
[error] new anonymous class anonfun$apply$6."" // def (arg$outer: views.html.anonfun$f$1,page$2: models.Page,search$2: Option): views.html.anonfun$apply$6, tree.tpe=(arg$outer: views.html.anonfun$f$1)views.html.anonfun$apply$6
[error] // 3 arguments
[error] This("$anonfun")final class anonfun$f$1 extends runtime.AbstractFunction2 with Serializable in package html, tree.tpe=views.html.anonfun$f$1
[error] "page" // page: models.Page, tree.tpe=models.Page
[error] "search" // search: Option, tree.tpe=Option
[error] )
[error] // tree.tpe=Function2
[error] )
[error] )
[error] DefDef( // final def apply(v1: Object,v2: Object): Object
[error] final
[error] "apply"
[error] []
[error] // 1 parameter list
[error] ValDef( // v1: Object
[error]
[error] "v1"
[error] // tree.tpe=Object
[error]
[error] )
[error] ValDef( // v2: Object
[error]
[error] "v2"
[error] // tree.tpe=Object
[error]
[error] )
[error] // tree.tpe=Object
[error] Apply( // final def apply(page: models.Page,search: Option): Function2, tree.tpe=Function2
[error] userRoles$$anonfun$f$1.this."apply" // final def apply(page: models.Page,search: Option): Function2, tree.tpe=(page: models.Page, search: Option)Function2
[error] // 2 arguments
[error] Apply( // final def $asInstanceOfT0 >: ? <: ?: T0 in class Object, tree.tpe=models.Page
[error] TypeApply( // final def $asInstanceOfT0 >: ? <: ?: T0 in class Object, tree.tpe=()models.Page
[error] "v1"."$asInstanceOf" // final def $asInstanceOfT0 >: ? <: ?: T0 in class Object, tree.tpe=T0 >: ? <: ?T0
[error] // tree.tpe=models.Page
[error] )
[error] Nil
[error] )
[error] Apply( // final def $asInstanceOfT0 >: ? <: ?: T0 in class Object, tree.tpe=Option
[error] TypeApply( // final def $asInstanceOfT0 >: ? <: ?: T0 in class Object, tree.tpe=()Option
[error] "v2"."$asInstanceOf" // final def $asInstanceOfT0 >: ? <: ?: T0 in class Object, tree.tpe=T0 >: ? <: ?T0
[error] // tree.tpe=Option
[error] )
[error] Nil
[error] )
[error] )
[error] )
[error] DefDef( // def (): views.html.anonfun$f$1
[error]
[error] ""
[error] []
[error] List(Nil)
[error] // tree.tpe=views.html.anonfun$f$1
[error] Block( // tree.tpe=Unit
[error] Apply( // def (): scala.runtime.AbstractFunction2 in class AbstractFunction2, tree.tpe=scala.runtime.AbstractFunction2
[error] userRoles$$anonfun$f$1.super."" // def (): scala.runtime.AbstractFunction2 in class AbstractFunction2, tree.tpe=()scala.runtime.AbstractFunction2
[error] Nil
[error] )
error
[error] )
[error] )
[error] )
[error]
[error] == Expanded type of tree ==
[error]
[error] ConstantType(value = Constant(play.api.templates.Html))
[error]
[error] uncaught exception during compilation: java.io.IOException
[error] File name too long
[error] two errors found
error Compilation failed
[error] Total time: 125 s, completed Nov 3, 2014 12:24:04 AM