KarelCemus / play-i18n

Multi-format localization plugin for Play framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Play 2.7 support

dmitchellmim opened this issue · comments

Do you plan to support Play 2.7 with your plugin? I was upgrading a project from 2.6 and encountered the injection error below. Scala and dependency injection are not my strong points, so I'm struggling to troubleshoot this.

ProvisionException: Unable to provision, see the following errors:

1) Error injecting constructor, java.lang.NoSuchMethodError: play.api.i18n.DefaultMessagesApi$.$lessinit$greater$default$6()Lplay/api/http/HttpConfiguration;
  at play.ext.i18n.MultiFormatMessagesApi.<init>(MultiFormatMessagesModule.scala:16)
  at play.ext.i18n.MultiFormatMessagesApi.class(MultiFormatMessagesModule.scala:16)
  while locating play.ext.i18n.MultiFormatMessagesApi
  while locating play.api.i18n.MessagesApi
    for the 1st parameter of play.i18n.MessagesApi.<init>(MessagesApi.java:30)
  at play.ext.i18n.MultiFormatMessagesModule.bindings(MultiFormatMessagesModule.scala:53):
Binding(class play.i18n.MessagesApi to self) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$4)
  while locating play.i18n.MessagesApi
[...]

Anyone else experiencing this? Thanks in advance.

I'll update by the end of this week.