第一种情况:
第二种情况:
当url中工程名称已经更新进去,有可能是web.xml里没有配置flexservlet和监听,没有配置的话也会出现以上错误
网上说的其他的修改方式,没有验证,我说的只是情况之一
解决方法就是在web.xml中添加如下说明;
<listener>
<listener-class>flex.messaging.HttpFlexSession</listener-class>
</listener>
<servlet>
<servlet-name>MessageBrokerServlet</servlet-name>
<servlet-class>flex.messaging.MessageBrokerServlet</servlet-class>
<init-param>
<param-name>services.configuration.file</param-name>
<param-value>/WEB-INF/flex/services-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>MessageBrokerServlet</servlet-name>
<url-pattern>/messagebroker/*</url-pattern>
</servlet-mapping>
针对flex Channel.Connect.Failed error NetConnection.Call.Failed 404,布布扣,bubuko.com
针对flex Channel.Connect.Failed error NetConnection.Call.Failed 404
原文:http://blog.csdn.net/shuijinglianyi/article/details/20632119