Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.redisson.spring.starter.RedissonAutoConfiguration #4757

Closed
luamas opened this issue Dec 22, 2022 · 3 comments

Comments

@luamas
Copy link

luamas commented Dec 22, 2022

2022-12-22 12:48:56 WARN [main] org.springframework.core.LocalVariableTableParameterNameDiscoverer.inspectClass(LocalVariableTableParameterNameDiscoverer.java:123) : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.redisson.spring.starter.RedissonAutoConfiguration

Expected behavior

Actual behavior

Steps to reproduce or test case

Redis version

Redisson version
3.19.0
Redisson configuration

Spring boot version
3.0.0

@luamas
Copy link
Author

luamas commented Dec 22, 2022

maven-compiler-plugin

<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
	<compilerArgs>
		<arg>-parameters</arg>
	</compilerArgs>
</configuration>

@mrniko
Copy link
Member

mrniko commented Dec 23, 2022

Fixed in Spring 6.0.3 spring-projects/spring-framework#29612

@vishalsingh2972
Copy link

@mrniko @luamas Getting similar warning after trying everything....any resolution?

Apr 14, 2023 1:09:54 AM org.springframework.core.LocalVariableTableParameterNameDiscoverer inspectClass WARNING: Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: demo.LoggingAspect

I am currently using Spring 6.0.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants