加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Flex 错误mx.messaging.messages::RemotingMessage)详解

发布时间:2020-12-15 03:42:52 所属栏目:百科 来源:网络整理
导读:(mx.messaging.messages::RemotingMessage)#0 ? body = (Array)#1 ? clientId = (null) ? destination = "" ? headers = (Object)#2 ? messageId = "9D7C932F-AFFA-26C1-F624-C1EA7B88DB1B" ? operation = "getAllClasses" ? source = (null) ? timestamp =
(mx.messaging.messages::RemotingMessage)#0
? body = (Array)#1
? clientId = (null)
? destination = ""
? headers = (Object)#2
? messageId = "9D7C932F-AFFA-26C1-F624-C1EA7B88DB1B"
? operation = "getAllClasses"
? source = (null)
? timestamp = 0

? timeToLive = 0


从异常信息中可以发现destination值为空字符串,根本原因是配置文件remoting-config.xml中没有定义destination对应的调用目标。

比如

var classesDao : RemoteObject = new RemoteObject("ClassesDao");

到remoting-config.xml中查找destination标签Id为ClassesDao的声明,没有找到,所以报告如上异常信息。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读