Exception Information:
Exception is Java.lang.IllegalStateException:Cannot convert value of type [ Org.springframework.data.redis.connection.jedis.JedisConnectionFactory] to required type [ Javax.jms.ConnectionFactory] for property ' connectionfactory ': no matching editors or conversion strategy found
Because the project needs to integrate Redis and JMS, when the start times are wrong. It is suggested that the interface to implement the class implementation is wrong. But it's strange why Redis is related to JMS interfaces. Later, the following configuration files have been found, to find the problem.
cause of error : When spring integrates Redis and JMS, it has its associated configuration file. Xml. My problem is that the connection factory ID for both profiles is the default connectionfactory, which will cause an error when it starts
Workaround:
The configuration on the connection factory ID is combined with the respective characters, Redisconnectionfactory,jmsconnectionfactory. So there's no conflict.