我在Application Java EE中使用Spring BlazeDS在Flex和Spring之间进行集成。
版本:
spring-flex.version:1.5.2.RELEASE
lcds.version:4.7
当我使用时:
<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
答案 0 :(得分:0)
与错误状态一样:他无法找到类flex.springintegration.core.DataServicesConfigProcessor 将类添加到运行时环境中,您就可以了。
您很可能缺少包含此类的jar文件。