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

Java 11 Spring Boot 2.5.4 Mybatis-plus 3.4.5.2

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

An illegal reflective access operation has occurred MyBatis-Plus  An illegal reflective access operation has occurred  Java 11

报错信息

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

Comment From: Oodachi

MyBatis-Plus  An illegal reflective access operation has occurred  Java 11 MyBatis-Plus  An illegal reflective access operation has occurred  Java 11

Comment From: lehug

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

Comment From: sfzjh

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