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

mybatis-plus 3.5.2.7-SNAPSHOT有警告 #5037

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

mybatis-plus 3.5.2.7-SNAPSHOT有警告 #5037

luamas opened this issue Dec 22, 2022 · 2 comments

Comments

@luamas
Copy link

luamas commented Dec 22, 2022

当前使用版本(必填,否则不予处理)

spring boot3.0.0
mybatis-plus 3.5.2.7-SNAPSHOT会发出WARN消息,感觉升级mybatis-spring即可解决此问题

该问题是如何引起的?(确定最新版也有问题再提!!!)

spring 6.0.1将LocalVariableTableParameterNameDiscoverer标记为废弃

Spring 6.0.3中已被修复,此issues忽略即可。 spring-projects/spring-framework#29612

重现步骤(如果有就写完整)

启动即可重现

报错信息

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.mybatis.spring.mapper.MapperFactoryBean

@tume002
Copy link

tume002 commented Feb 7, 2023

I still see this warning with Spring 6.0.4.

Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration

spring-projects/spring-framework#29612
I thought this bug is fixed in above issue. Can anyone confirm this please?

@luamas
Copy link
Author

luamas commented Feb 7, 2023

@tume002 mybatis-plus 3.5.3.1 ,spring 6.0.4 is not affected by this parameter, see spring-projects/spring-framework#29612, spring-projects/spring-framework@e47978e

@luamas luamas closed this as completed Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants