Jboss 如何解决从';com.ibm.mq.connector.outbound.ConnectionFactoryImpl';到所需的';jms.ConnectionFactory';

Jboss 如何解决从';com.ibm.mq.connector.outbound.ConnectionFactoryImpl';到所需的';jms.ConnectionFactory';,jboss,migration,ibm-mq,jboss-eap-6,jboss-eap-7,Jboss,Migration,Ibm Mq,Jboss Eap 6,Jboss Eap 7,我正在尝试JBOSS EAP 6.4到JBOSS EAP 7.2的迁移 在服务器启动时,我得到 BeanCreationException: Error creating bean with name 'A' defined in ServletContext resource Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException:

我正在尝试JBOSS EAP 6.4到JBOSS EAP 7.2的迁移

在服务器启动时,我得到

BeanCreationException: Error creating bean with name 'A' defined in ServletContext resource Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'com.ibm.mq.connector.outbound.ConnectionFactoryImpl' to required type 'javax.jms.ConnectionFactory' for property 'queueManager'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [com.ibm.mq.connector.outbound.ConnectionFactoryImpl] to required type [javax.jms.ConnectionFactory] for property 'queueManager': no matching editors or conversion strategy found

为什么会发生这种情况以及如何解决它?

经过这么多的尝试,我通过在
standalone.xml
中的全局模块部分添加
javax.jms.api
解决了这个错误。它通过
WMQ
设置解决了上述问题

<global-modules>
    <module name="javax.jms.api"/>
</global-modules>


听起来您缺少MQ JAR文件。查看此链接:我已添加了正在打印的jar文件,部署名称=wmq.jmsra.rar[org.infinispan.commons.util.ServiceFinder]未找到任何服务impls:ModuleLifecycle这是罪魁祸首吗?此jar“mq jar”是成功部署还是在上述错误后取消部署,如果是,则可能是罪魁祸首出现了相同的问题。经过这么多的尝试,我通过你的回答解决了这个错误:)