所以我有这个在java文件中被调用的bean文件。看在上帝的份上,我无法弄清楚为什么会出现这个错误。
我尝试在互联网上进行研究或阅读有关 JCSMPChannelProperties 的信息(我没有找到)。
尝试更改 bean 的顺序(这无关紧要)。
可能有一个简单的修复。但是我想不通!!!
Error creating bean with name 'broadCastService' defined in URL [file:/C:/EclipseWorkspace/NewWorkspace/ss_cache/bin/cacheQueryServiceContext.xml]: Cannot resolve reference to bean 'cacheQueryService' while setting bean property 'genericQueryService';
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheQueryService' defined in class path resource [muniOfferingQueryServiceContext.xml]: Cannot resolve reference to bean 'muni.JmsTemplate' while setting bean property 'jmsTopicTemplate';
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'muni.JmsTemplate' defined in class path resource [muniOfferingQueryServiceContext.xml]: Cannot resolve reference to bean 'muni.SolaceCachedConnectionFactory' while setting bean property 'connectionFactory';
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'muni.SolaceCachedConnectionFactory' defined in class path resource [muniOfferingQueryServiceContext.xml]: Cannot resolve reference to bean 'muni.SolaceConnectionFactory' while setting bean property 'targetConnectionFactory';
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'muni.SolaceConnectionFactory' defined in class path resource [muniOfferingQueryServiceContext.xml]:
Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: com.solacesystems.jcsmp.JCSMPChannelProperties.getConnectRetriesPerHost()I