{"action":"created","issue":{"url":"https://api.github.com/repos/scaldi/scaldi-play/issues/10","labels_url":"https://api.github.com/repos/scaldi/scaldi-play/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/scaldi/scaldi-play/issues/10/comments","events_url":"https://api.github.com/repos/scaldi/scaldi-play/issues/10/events","html_url":"https://github.com/scaldi/scaldi-play/issues/10","id":58514704,"number":10,"title":"Match Error with Play 2.4.0-M2 when Using Cache API","user":{"login":"michaelahlers","id":2034877,"avatar_url":"https://avatars.githubusercontent.com/u/2034877?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelahlers","html_url":"https://github.com/michaelahlers","followers_url":"https://api.github.com/users/michaelahlers/followers","following_url":"https://api.github.com/users/michaelahlers/following{/other_user}","gists_url":"https://api.github.com/users/michaelahlers/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelahlers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelahlers/subscriptions","organizations_url":"https://api.github.com/users/michaelahlers/orgs","repos_url":"https://api.github.com/users/michaelahlers/repos","events_url":"https://api.github.com/users/michaelahlers/events{/privacy}","received_events_url":"https://api.github.com/users/michaelahlers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-22T19:29:26Z","updated_at":"2015-02-23T00:06:02Z","closed_at":null,"body":"Following from [your Play 2.4.0-M2 integration example](https://github.com/OlegIlyenko/scaldi-play-example) using the `0.5-play2.4-2` release, I get the following error when making web requests to a simple application:\r\n\r\n```\r\n! @6l9ii3n53 - Internal server error, for (GET) [/] ->\r\n\r\nplay.api.UnexpectedException: Unexpected exception[MatchError: QualifierInstance(@play.cache.NamedCache(value=play)) (of class play.api.inject.QualifierInstance)]\r\n\tat play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(ApplicationProvider.scala:176) ~[play_2.11-2.4.0-M2.jar:2.4.0-M2]\r\n\tat play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(ApplicationProvider.scala:130) ~[play_2.11-2.4.0-M2.jar:2.4.0-M2]\r\n\tat scala.Option.map(Option.scala:146) ~[scala-library-2.11.5.jar:na]\r\n\tat play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1.apply(ApplicationProvider.scala:130) ~[play_2.11-2.4.0-M2.jar:2.4.0-M2]\r\n\tat play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1.apply(ApplicationProvider.scala:128) ~[play_2.11-2.4.0-M2.jar:2.4.0-M2]\r\nCaused by: scala.MatchError: QualifierInstance(@play.cache.NamedCache(value=play)) (of class play.api.inject.QualifierInstance)\r\n\tat scaldi.play.ScaldiApplicationLoader$$anonfun$12.apply(ScaldiApplicationLoader.scala:128) ~[scaldi-play_2.11-0.5-play2.4-2.jar:0.5-play2.4-2]\r\n\tat scaldi.play.ScaldiApplicationLoader$$anonfun$12.apply(ScaldiApplicationLoader.scala:128) ~[scaldi-play_2.11-0.5-play2.4-2.jar:0.5-play2.4-2]\r\n\tat scala.Option.map(Option.scala:146) ~[scala-library-2.11.5.jar:na]\r\n\tat scaldi.play.ScaldiApplicationLoader$.identifiersForKey(ScaldiApplicationLoader.scala:128) ~[scaldi-play_2.11-0.5-play2.4-2.jar:0.5-play2.4-2]\r\n\tat scaldi.play.ScaldiApplicationLoader$$anonfun$13$$anonfun$apply$2.apply(ScaldiApplicationLoader.scala:144) ~[scaldi-play_2.11-0.5-play2.4-2.jar:0.5-play2.4-2]\r\n```\r\n\r\nDoes that mean anything to you?\r\n\r\nFor what it's worth, your exemplar works great, and the only key differences between it and my application are:\r\n\r\n1. Nested routes files (_e.g._, `-> /path path.Routes` in `conf/routes`).\r\n2. Bound resources with symbol names (_e.g._, `bind[SomeClass] identifiedBy 'mySymbol to new SomeClass`)."},"comment":{"url":"https://api.github.com/repos/scaldi/scaldi-play/issues/comments/75474124","html_url":"https://github.com/scaldi/scaldi-play/issues/10#issuecomment-75474124","issue_url":"https://api.github.com/repos/scaldi/scaldi-play/issues/10","id":75474124,"user":{"login":"OlegIlyenko","id":156569,"avatar_url":"https://avatars.githubusercontent.com/u/156569?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegIlyenko","html_url":"https://github.com/OlegIlyenko","followers_url":"https://api.github.com/users/OlegIlyenko/followers","following_url":"https://api.github.com/users/OlegIlyenko/following{/other_user}","gists_url":"https://api.github.com/users/OlegIlyenko/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegIlyenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegIlyenko/subscriptions","organizations_url":"https://api.github.com/users/OlegIlyenko/orgs","repos_url":"https://api.github.com/users/OlegIlyenko/repos","events_url":"https://api.github.com/users/OlegIlyenko/events{/privacy}","received_events_url":"https://api.github.com/users/OlegIlyenko/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T00:06:02Z","updated_at":"2015-02-23T00:06:02Z","body":"You are super fast! :) Thanks a lot, I will definitely look at it tomorrow"}}