Replace @SpringBootApplication with @QuarkusMain
MSALReplace @SpringBootApplication with @QuarkusMain on the class that declares the main method, adding @ApplicationScoped when it declares bean producers, as @QuarkusMain is not bean defining. On other classes, such as nested test applications, @SpringBootApplication becomes @ApplicationScoped when the class declares producers and is removed otherwise, as Quarkus allows only one @QuarkusMain per application.
org. openrewrite. quarkus. spring. SpringBootApplicationToQuarkusMainmod run . --recipe= org. openrewrite. quarkus. spring. SpringBootApplicationToQuarkusMainInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.