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

An illegal reflective access operation has occurred Java 11 #3900

Closed
Oodachi opened this issue Sep 9, 2021 · 3 comments
Closed

An illegal reflective access operation has occurred Java 11 #3900

Oodachi opened this issue Sep 9, 2021 · 3 comments

Comments

@Oodachi
Copy link

Oodachi commented Sep 9, 2021

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

Java 11
Spring Boot 2.5.4
Mybatis-plus 3.4.5.2

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

An illegal reflective access operation has occurred
image

报错信息

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.baomidou.mybatisplus.core.toolkit.SetAccessibleAction (file:/Users/xxxxxx/.m2/repository/com/baomidou/mybatis-plus-core/3.4.3.3/mybatis-plus-core-3.4.3.3.jar) to field java.lang.invoke.SerializedLambda.capturingClass
WARNING: Please consider reporting this to the maintainers of com.baomidou.mybatisplus.core.toolkit.SetAccessibleAction
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

@Oodachi
Copy link
Author

Oodachi commented Sep 9, 2021

image
image

@lehug
Copy link

lehug commented Sep 26, 2021

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.baomidou.mybatisplus.core.toolkit.SetAccessibleAction (file:/home/lehug/.gradle/caches/modules-2/files-2.1/com.baomidou/mybatis-plus-core/3.4.3.4/cf0813e0b441eac0fe7a446768d685c7629252d/mybatis-plus-core-3.4.3.4.jar) to field java.lang.invoke.SerializedLambda.capturingClass
WARNING: Please consider reporting this to the maintainers of com.baomidou.mybatisplus.core.toolkit.SetAccessibleAction
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

@sfzjh
Copy link

sfzjh commented Jan 26, 2022

我也遇到这个问题,使用LambdaQueryWrapper进行查询时要报反射警告

@Oodachi Oodachi closed this as completed Oct 26, 2022
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

3 participants