I am trying to configure the Eclipse Scala SDK IDE to work with Play 2.4 on Windows 8. I followed the instructions in the official manual , but after opening the default view index.scala.html, I get a bunch of errors, such as:
ambiguous reference to an overloaded definition,
both methods are displayed in the BaseScalaTemplate class of type (o: Any) (implicit m: Manifest [error]) and the mapping of the method in the BaseScalaTemplate class of type (x: error) map the argument types (play.twirl.api.HtmlFormat.Appendable) and the expected type Any result
Error in application with default arguments.
index.scala.html / play- scala -test-app / app / views line 3
Java issue
type Html is not included in the play.api.templates package
index.scala.html / play- scala -test-app / app / views line
Java issue
I tried to remove the default import and add a new play.twirl.api._ import to the properties of the Play2 project, but that did not change anything. Is there any way to fix the configuration?
source share