【发布时间】:2017-02-23 15:40:40
【问题描述】:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'XMqJmsTemplate' defined in class path resource [applicationContext-XMq.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'com.ibm.mq.jms.MQQueueConnectionFactory' to required type 'javax.jms.ConnectionFactory' for property 'connectionFactory'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [com.ibm.mq.jms.MQQueueConnectionFactory] to required type [javax.jms.ConnectionFactory] for property 'connectionFactory': no matching editors or conversion strategy found.
我的pom.xml 只有spring-jms3.2.14.RELEASE,所以不会发生冲突。
部署到 Tomcat 8.0V 时无法解决此问题。
有没有可以解决转换问题的jar?
【问题讨论】:
-
解决与 jms 的冲突后并没有解决问题。谁能帮帮我?
-
你最终解决了这个问题吗?
-
只是依赖冲突问题。
-
你能解释解决依赖冲突的步骤吗?
标签: spring jms ibm-mq jmstemplate