Injector is missing to handle injection into property "injector"
Hey guys,
at first let me thank you for that great framework. I really like RobotLegs 2.
Some weeks ago I developed a RL2-Project by using RLv2.0.0b5. Everything worked fine.
But when I switched from beta to productive I got an error-message:
[Fault] exception, information=Error: Injector is missing a mapping to handle injection into property "injector" of object "[object ShellConfig]" with type "de.ifs.shell::ShellConfig". Target dependency: "org.swiftsuspenders::Injector|"
Hope you can help me.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Ondina D.F. on 18 Jul, 2013 01:21 PM
Hi,
From the error you're getting I assume that you tried to inject the injector like this:
You need to inject the IInjector !!!
Let me know if this solves your problem.
Ondina
2 Posted by LordCorax on 18 Jul, 2013 01:30 PM
Yeah that solved my problem completly.
I didn't recognized, that I'm not using the interface.
Thanks a lot
Support Staff 3 Posted by Ondina D.F. on 18 Jul, 2013 01:30 PM
No problem:)
Ondina D.F. closed this discussion on 18 Jul, 2013 01:30 PM.
creynders re-opened this discussion on 18 Jul, 2013 03:24 PM
Support Staff 4 Posted by creynders on 18 Jul, 2013 03:24 PM
It's our fault really. You can't believe - no seriously, it's unbelievable
- what an amount of discussion went into the "should we provide an
iinjector interface or not." It somehow got sort of settled at the final
minute that we should.
Ondina D.F. closed this discussion on 26 Jul, 2013 10:57 AM.