我是使用 Play 框架的新手,我正在尝试使用 Facebook-OAuth2 提供程序将 SecureSocial 插件合并到我的应用程序中。当我向以下位置发送 GET 请求时遇到了这个错误/login
:
! @6apkmf9m3 - Internal server error, for request [GET /login] ->
play.core.ActionInvoker$$anonfun$receive$1$$anon$1: Execution exception [[NoSuchMethodError: securesocial.controllers.ReverseLoginPage.authenticate(Ljava/lang/String;)Lplay/api/mvc/Call;]]
at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:134) [play_2.9.1.jar:2.0.2]
at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) [play_2.9.1.jar:2.0.2]
at akka.actor.Actor$class.apply(Actor.scala:318) [akka-actor.jar:2.0.2]
at play.core.ActionInvoker.apply(Invoker.scala:113) [play_2.9.1.jar:2.0.2]
at akka.actor.ActorCell.invoke(ActorCell.scala:626) [akka-actor.jar:2.0.2]
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) [akka-actor.jar:2.0.2]
Caused by: java.lang.NoSuchMethodError: securesocial.controllers.ReverseLoginPage.authenticate(Ljava/lang/String;)Lplay/api/mvc/Call;
at securesocial.core.IdentityProvider.authenticationUrl(IdentityProvider.scala:86) ~[classes/:na]
at securesocial.views.html.login$$anonfun$apply$3$$anonfun$apply$4.apply(login.template.scala:44) ~[classes/:na]
at securesocial.views.html.login$$anonfun$apply$3$$anonfun$apply$4.apply(login.template.scala:43) ~[classes/:na]
at play.templates.TemplateMagic$.defining(ScalaTemplates.scala:756) ~[templates_2.9.1.jar:2.0.2]
at securesocial.views.html.login$$anonfun$apply$3.apply(login.template.scala:43) ~[classes/:na]
at securesocial.views.html.login$$anonfun$apply$3.apply(login.template.scala:42) ~[classes/:na]
- 有人可以提示我在哪里可以找到有关此错误的更多信息吗?
- Play 如何工作从
securesocial.controllers.ReverseLoginPage
到securesocial.controllers.LoginPage
,前者存在于模块中?