Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/D:/apache-maven-

Posted Roam-G

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/D:/apache-maven-相关的知识,希望对你有一定的参考价值。

报错信息

Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/D:/apache-maven-3.

 

错误原因,mapper 没有注入到ioc中

AopAutoConfiguration matched:

解决方法

增加 MapperSacn注解

 

********************************************************************************************************

*************数据库中的名称 和 实体类中 的名称对应方法

 

把 下划线去掉。 并且下划线 后面 的第一个字母 改为大写。

比如 categoryleveltwoId fileName

以上是关于Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/D:/apache-maven-的主要内容,如果未能解决你的问题,请参考以下文章