So you get:
Execution failed for task ‘:bootJar’
$ .\gradlew build > Task :compileJava Note: file.java uses preview language features. Note: Recompile with -Xlint:preview for details. > Task :bootJar FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':bootJar'. > This feature requires ASM8_EXPERIMENTAL * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 8s
Update spring-boot to the latest version. The minimum is
The reason is the ASM dependency that needed to be updated. The ASM is referenced by the spring framework, which is referenced by spring-boot.