> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/RaUfn-t38TgJ.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
--
Guillaume Bort
The 'box.scala.html' file is in 'views.admin' package.
browser:
[Error: Unresolved compilation problem: box cannot be resolved ]
[...]
return ok(box.render(form(Login.class)));
[...]
Console:
! @69g71c3jc - Internal server error, for request [GET /admin/login] ->
play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution
exception [[Error: Unresolved compilation problem:
box cannot be resolved
]]
at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:59)
[play_2.9.1-2.0-RC1-SNAPSHOT.jar:2.0-RC1-SNAPSHOT]
at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:40)
[play_2.9.1-2.0-RC1-SNAPSHOT.jar:2.0-RC1-SNAPSHOT]
at akka.actor.Actor$class.apply(Actor.scala:286) [akka-actor-2.0-M2.jar:2.0-M2]
at play.core.ActionInvoker.apply(Invoker.scala:38)
[play_2.9.1-2.0-RC1-SNAPSHOT.jar:2.0-RC1-SNAPSHOT]
at akka.actor.ActorCell.invoke(ActorCell.scala:478)
[akka-actor-2.0-M2.jar:2.0-M2]
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:187)
[akka-actor-2.0-M2.jar:2.0-M2]
Caused by: java.lang.Error: Unresolved compilation problem:
box cannot be resolved
at controllers.Admin.login(Admin.java:23) ~[classes/:2.0-RC1-SNAPSHOT]
at Routes$$anonfun$routes$1$$anonfun$apply$11$$anonfun$apply$12.apply(routes_routing.scala:104)
~[classes/:na]
at Routes$$anonfun$routes$1$$anonfun$apply$11$$anonfun$apply$12.apply(routes_routing.scala:104)
~[classes/:na]
at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1069)
~[play_2.9.1-2.0-RC1-SNAPSHOT.jar:2.0-RC1-SNAPSHOT]
at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33)
~[play_2.9.1-2.0-RC1-SNAPSHOT.jar:2.0-RC1-SNAPSHOT]
at play.GlobalSettings$1.call(GlobalSettings.java:57)
~[play_2.9.1-2.0-RC1-SNAPSHOT.jar:2.0-RC1-SNAPSHOT]
--
skype: effe.to