flex4 中 连接数据库查询,代码写完后报错请问这个是什么错啊。我用的是eclipse 做后台,连接mysql数据库
TypeError:Error#1006:getResourceBundleisnotafunction.atcom.adobe.cairngorm::Cairngorm...
TypeError: Error #1006: getResourceBundle is not a function.
at com.adobe.cairngorm::CairngormError$cinit()
at global$init()[/workspaces/cairngormplugin/Cairngorm/com/adobe/cairngorm/CairngormError.as:41]
at WebServices/getService()[/workspaces/cairngormplugin/Cairngorm/com/adobe/cairngorm/business/WebServices.as:82]
at com.adobe.cairngorm.business::ServiceLocator/getWebService()[/workspaces/cairngormplugin/Cairngorm/com/adobe/cairngorm/business/ServiceLocator.as:157]
at com.hp.ygp.bussiness::Get_YG_Query_ygpinfo_Delegate()[C:\flexObject\YGP\src\com\hp\ygp\bussiness\Get_YG_Query_ygpinfo_Delegate.as:28]
at com.hp.ygp.command::YG_Query_info_command/execute()[C:\flexObject\YGP\src\com\hp\ygp\command\YG_Query_info_command.as:34]
at com.adobe.cairngorm.control::FrontController/executeCommand()[/workspaces/cairngormplugin/Cairngorm/com/adobe/cairngorm/control/FrontController.as:229]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.adobe.cairngorm.control::CairngormEventDispatcher/dispatchEvent()[/workspaces/cairngormplugin/Cairngorm/com/adobe/cairngorm/control/CairngormEventDispatcher.as:113]
at com.adobe.cairngorm.control::CairngormEvent/dispatch()[/workspaces/cairngormplugin/Cairngorm/com/adobe/cairngorm/control/CairngormEvent.as:77]
at com.hp.ygp.view.components.datagrid::YG_Datagrid_Query/getData()[C:\flexObject\YGP\src\com\hp\ygp\view\components\datagrid\YG_Datagrid_Query.mxml:46]
at com.hp.ygp.view.components.datagrid::YG_Datagrid_Query/bordercontainer1_creationCompleteHandler()[C:\flexObject\YGP\src\com\hp\ygp\view\components\datagrid\YG_Datagrid_Query.mxml:28]
at com.hp.ygp.view.components.datagrid::YG_Datagrid_Query/___YG_Datagrid_Query_BorderContainer1_creationComplete()[C:\flexObject\YGP\src\com\hp\ygp\view\components\datagrid\YG_Datagrid_Query.mxml:6]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:12528]
at mx.core::UIComponent/set initialized()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:1627]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:759]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072] 展开
at com.adobe.cairngorm::CairngormError$cinit()
at global$init()[/workspaces/cairngormplugin/Cairngorm/com/adobe/cairngorm/CairngormError.as:41]
at WebServices/getService()[/workspaces/cairngormplugin/Cairngorm/com/adobe/cairngorm/business/WebServices.as:82]
at com.adobe.cairngorm.business::ServiceLocator/getWebService()[/workspaces/cairngormplugin/Cairngorm/com/adobe/cairngorm/business/ServiceLocator.as:157]
at com.hp.ygp.bussiness::Get_YG_Query_ygpinfo_Delegate()[C:\flexObject\YGP\src\com\hp\ygp\bussiness\Get_YG_Query_ygpinfo_Delegate.as:28]
at com.hp.ygp.command::YG_Query_info_command/execute()[C:\flexObject\YGP\src\com\hp\ygp\command\YG_Query_info_command.as:34]
at com.adobe.cairngorm.control::FrontController/executeCommand()[/workspaces/cairngormplugin/Cairngorm/com/adobe/cairngorm/control/FrontController.as:229]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.adobe.cairngorm.control::CairngormEventDispatcher/dispatchEvent()[/workspaces/cairngormplugin/Cairngorm/com/adobe/cairngorm/control/CairngormEventDispatcher.as:113]
at com.adobe.cairngorm.control::CairngormEvent/dispatch()[/workspaces/cairngormplugin/Cairngorm/com/adobe/cairngorm/control/CairngormEvent.as:77]
at com.hp.ygp.view.components.datagrid::YG_Datagrid_Query/getData()[C:\flexObject\YGP\src\com\hp\ygp\view\components\datagrid\YG_Datagrid_Query.mxml:46]
at com.hp.ygp.view.components.datagrid::YG_Datagrid_Query/bordercontainer1_creationCompleteHandler()[C:\flexObject\YGP\src\com\hp\ygp\view\components\datagrid\YG_Datagrid_Query.mxml:28]
at com.hp.ygp.view.components.datagrid::YG_Datagrid_Query/___YG_Datagrid_Query_BorderContainer1_creationComplete()[C:\flexObject\YGP\src\com\hp\ygp\view\components\datagrid\YG_Datagrid_Query.mxml:6]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:12528]
at mx.core::UIComponent/set initialized()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:1627]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:759]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072] 展开
2个回答
2011-01-04
展开全部
这个是监听重复使用的错误,你检查一下代码是不是哪里的监听写错了,,
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询