页面错误信息[FaultEvent fault=[RPC Fault faultString="java.lang.NoSuchMethodError : org.springframework.beans.factory.ListableBeanFactory.getBeanDefinitionNames(Ljava/lang/Class;)[Ljava/lang/String;" faultCode="Server.Processing" faultDetail="null"] messageId="1CED8A85-A40B-886A-C161-7D607A5F48AC" type="fault" bubbles=false cancelable=true eventPhase=2]这个是我的配置文件 <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
            <endpoint url="http://localhost:8080/BookStore/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
        </channel-definition>        <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
            <endpoint url="https://localhost:8080/BookStore/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
            <properties>
                <add-no-cache-headers>false</add-no-cache-headers>
            </properties>
        </channel-definition>        <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel">
            <endpoint url="http://localhost:8080/BookStore/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
            <properties>
                <polling-enabled>true</polling-enabled>
                <polling-interval-seconds>4</polling-interval-seconds>
            </properties>
        </channel-definition>

解决方案 »

  1.   

    和eclipse有关系吗 我看只是远程调用 webservice的时候出错了 getBeanDefinitionNames这个方法找不到。
      

  2.   

    我也觉得是spring jar 的问题,但我不知道该如何去弄。请指教
      

  3.   

    把原来的jar包删除,重新下载版本一致的jar
    ,重新发布程序
    删除web服务器缓存(可选)
    启动web服务器
      

  4.   

    我的问题昨天已经解决了,谢谢,分还是会给的,不知道能否说明下,什么是版本一直的JAR包?我不是很理解,我是一个jar,一个jar测试才弄好的