Closed sw-tracker closed 5 months ago
That's not really a matter for this starter package. The question ought to be which version of the MQ JMS classes got rid of that deprecated call. As best I can tell, it was in MQ 9.2.5 or 9.3.0 that support for Java 17 was claimed.
And the MQ 9.3.0.0 level was picked up as the dependency in mq-jms-spring-boot-starter:2.7.1
. So you need to check which version of the JMS client is actually being pulled in.
Description
We are currently using spring boot 2.7.3 with java 17, and we keep getting the exception that a method is deprecated. We found a stackoverflow issue saying that it is due to using an older MQ library with java 17. How can we fix this issue? What version of your
mq-jms-spring-boot-starter
should we be using?Versions
Error