无法为locale'en_US'找到已编译的资源包'messaging'。从4.0迁移到4.6

时间:2012-09-13 09:30:20

标签: flex resourcebundle

将flex SDK从4.0迁移到4.6时。我在运行时遇到这样的错误。

 Error: Could not find compiled resource bundle 'messaging' for locale 'en_US'.
 at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()
 at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()
 at mx.core::FlexModuleFactory/installCompiledResourceBundles()
 at mx.core::FlexModuleFactory/docFrameHandler()
 at mx.core::FlexModuleFactory/docFrameListener()

资源包'mesaging'包含在rpc中,'rpc'已经加载到'caching',同时打开我的应用程序。我在网上发现了一些workround,但没有一个可行。我试过了:

1.add [ ResourceBundle( "messaging" )]
2.decalare a usage to class that maybe use the 'mesaging', such as
 import mx.messaging.channels.HTTPChannel;
 private var httpChannel:HTTPChannel;</pre>
3.In pom
    <includeResourceBundles>
    <bundle>messaging</bundle>
    </includeResourceBundles>

有人对此问题有其他解决方案吗?感谢

0 个答案:

没有答案