简体   繁体   English

信号指令图注入错误

[英]Signal command map injection error

I am using Robotlegs to create a simple application in as3, which I have been using for a couple of months now. 我正在使用Robotlegs在as3中创建一个简单的应用程序,而我已经使用了几个月。 I seem to be getting an injection error when injecting the ISignalCommandMap into my config file, which has only started happening after I moved my application from one computer to another. 将ISignalCommandMap注入配置文件时,似乎出现注入错误,该错误仅在将应用程序从一台计算机移至另一台计算机后才开始发生。 It may be to do with conflicting libraries, but I have re-downloaded the newest versions of everything. 这可能与冲突的库有关,但是我已经重新下载了所有内容的最新版本。 I am also using starling in the application, but everything was working on the other computer. 我也在应用程序中使用starling,但是所有内容都在另一台计算机上运行。

Here is the error I am getting Injector is missing a mapping to handle injection into property "commandMap" of object "[object Config]" with type "Config::Config". 这是我得到的错误,因为Injector缺少用于处理注入类型为“ Config :: Config”的对象“ [object Config]”的属性“ commandMap”的映射。 Target dependency: "robotlegs.bender.extensions.signalCommandMap.api::ISignalCommandMap|" 目标依赖项:“ robotlegs.bender.extensions.signalCommandMap.api :: ISignalCommandMap |”

Any thoughts to why this has started happening? 有什么想法为什么会开始发生呢?

对我来说解决此问题的是像在此示例项目中一样扩展MVCSBundle,然后使用该类代替MVCSBundle。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM