配置Flex项目出错

     今天我配置Flex项目,应用程序服务类型是:J2EE

     在配置Java后台中Flex配置文件时,出现以下错误:

Caused by:flex.messaging.config.ConfigurationException:Invalid factory id:'cityDescService'.
          Look for a factory tag with this id under the factories tag for your configuration

      经过检查,我发现在配置文件remoting-config.xml里有一段代码:

<!--地方-->
<destination id="cityDescService">
       <properties>
              <factory>flexFactory</factory>
              <source>cityDescService</source>
      </properties>
<destination>


删除了
<factory>flexFactory</factory>


页面弹出错误窗口



你可能感兴趣的:(报错,Flex,配置文件)