将 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()
资源包“消息”包含在 rpc 中,并且“rpc”在打开我的应用程序时已加载到“缓存”。我在网上找到了一些解决方法,但没有一个有效。我试过了:
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>
有人对这个问题有其他解决方案吗?谢谢