After migrating a project from Spring Boot v2.7 to v3.0 (and thus from Spring Integration v5.5 to v6.0), the following warnings are printed out:
WARN 22084 --- [ restartedMain] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: com.foobar.MyClassA
WARN 22084 --- [ restartedMain] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: com.foobar.MyClassB
WARN 22084 --- [ restartedMain] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: com.foobar.MyClassC
WARN 22084 --- [ restartedMain] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: com.foobar.MyClassD
MyClassA
extends IntegrationFlowAdapter
, and is annotated with @Component
:
package com.foobar;
@Component
class MyClassA extends IntegrationFlowAdapter {
// …
}
MyClassB
is annotated with @ConfigurationProperties
:
package com.foobar;
@ConfigurationProperties("my-config")
class MyClassB {
// …
}
MyClassC
is annotated with @Configuration
:
package com.foobar;
@Configuration
class MyClassC {
// …
}
And this particular one not even extending anything, nor annotated:
package com.foobar;
class MyClassD {
// …
}
I didn’t see any relevant information in the Spring Boot and Spring Integration migration guides. There is a section about name resolution in the Spring Boot migration guide, but it is related to Gradle, and I’m using Maven. I’m not even sure what this name resolution is all about.
I’m puzzled with the class LocalVariableTableParameterNameDiscoverer
, and I’m not sure what migration task I’m supposed to do.