- Playframework - Eclipse can't detect a new template [closed]
- package controllers;
- import play.*;
- import play.mvc.*;
- import views.html.*;;
- public class Application extends Controller {
- public static Result index() {
- return ok(sometest.render("test")); // this line is marked red
- }
- }
- app
- --views
- ----index.scala.html
- ----main.scala.html
- ----sometest.scala.html
- $ cd myapp
- $ play
- $ run