Skip to content

Mention code namespace changes in migration guide #46553

@ibmmqmet

Description

@ibmmqmet

I'm trying to rebuild my MQ JMS Boot Starter against the M1 snapshot, and getting missing packages/classes. I switched to

api group: 'org.springframework.boot', name: 'spring-boot-starter-jms', version: springBootVersion
api group: 'org.springframework.boot', name: 'spring-boot-tx', version: springBootVersion

in my gradle config that works fine for Boot3 . But I'm getting lots of errors like:

mq-boot4-spring-boot-starter/src/main/java/com/ibm/mq/spring/boot/MQConfigurationListenerDefault.java:23: error: package org.springframework.boot.autoconfigure.jms does not exist
import org.springframework.boot.autoconfigure.jms.JmsProperties;

mq-boot4-spring-boot-starter/src/main/java/com/ibm/mq/spring/boot/MQAutoConfiguration.java:24: error: package org.springframework.boot.autoconfigure.jms does not exist
import org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration;

And similar for JtaAutoConfiguration.

I know the new jar files are being downloaded, along with their dependencies, and I can see the classes inside those jars. ONE class from them (XAConnectionFactoryWrapper) appears to be recognised during the build. But it's just about everything else that's not found.

I've tried everything I can think of, including using "bad" artifact names to prove that the lines in the build.gradle are being processed.

Are there extra jars neeed? Anything different needed for the build against Boot4?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions