我正在尝试从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
为什么会出现这种情况,如何解决?
1条答案
按热度按时间5n0oy7gb1#
经过多次尝试,我通过将
javax.jms.api
添加到standalone.xml
中的global-modules部分来解决这个错误。它解决了WMQ
设置中的上述问题。