ambigious implicits value - twirl form error

93 views Asked by At

With playframework 2.6, I am getting following errors. I have read and found this error only on older versions, that too resolved easily.

enter image description here

[error] /Users/vishalupadhyay/Work/app/views/login_form.scala.html:12:22: ambiguous implicit values:
[error]  both method implicitJavaMessages in object PlayMagicForJava of type => play.api.i18n.Messages
[error]  and value request of type play.api.mvc.MessagesRequestHeader
[error]  match expected type play.api.i18n.MessagesProvider
[error]     @helper.inputText(loginForm("password"))
[error]                      ^

Could not find any answer which can help it. Please see complete code in this link.

1

There are 1 answers

1
Andriy Kuba On

Remove the implicit Lang and Messages arguments