WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by c

启动项目调试的时候,项目正常启动,但是中间突然爆红了这么一段
这是提醒,并不是报错,说的是你的jdk版本过高,一般的,并不会影响程序的运行

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.baomidou.mybatisplus.core.toolkit.SetAccessibleAction (file:/C:/Users/EDZ/.m2/repository/com/baomidou/mybatis-plus-core/3.4.3.4/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

在这里插入图片描述

只需要修改在项目中使用的jdk版本为1.8以下的就行。

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by c_第1张图片

你可能感兴趣的:(IDEA,开发语言,mybatis,java)