我正在尝试设置一个基于Scala SDK Eclipse的IDE,以便在Windows 8上使用Play 2.4.我按照官方指南中的说明进行操作,但在打开默认视图index.scala.html之后,我收到了一堆错误:
对重载定义的模糊引用,
两个方法都显示在类BaseScalaTemplate类型(o:Any)(隐式m:Manifest [error])和方法显示类BaseScalaTemplate类型(x:error)匹配参数类型(play.twirl.api.HtmlFormat.Appendable)和预期结果类型任何
涉及默认参数的应用程序出错.
index.scala.html/play-scala-test-app/app/views第3行
Java问题
类型Html不是包play.api.templates的成员
index.scala.html/play-scala-test-app/app/views line
Java问题
我试图删除默认导入并play.twirl.api._在Play2项目属性中添加新导入,但这没有改变.有没有办法修复配置?