在我的应用程序Java中,我使用Spring和BlazeDS进行集成。
版本:
当我使用:
<flex:message-broker />效果很好。
但是,当我使用拦截器时,我有以下错误:
<bean id="messageInterceptor" class="com.package.MessageInterceptorImpl"/>
<flex:message-broker>
<flex:message-interceptor ref="messageInterceptorImpl"/>
</flex:message-broker>错误:
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [flex.springintegration.core.DataServicesConfigProcessor] for bean with name '_messageBrokerDataServicesConfigProcessor' defined in null; nested exception is java.lang.ClassNotFoundException: flex.springintegration.core.DataServicesConfigProcessor发布于 2014-10-20 09:09:21
就像错误状态一样:他找不到类flex.springintegration.core.DataServicesConfigProcessor,将类添加到运行时环境中,这样就可以了。
很可能缺少包含该类的jar文件。
https://stackoverflow.com/questions/26389314
复制相似问题