java.lang.IllegalAccessException: Class com.test.Demo2 can not access a member of class com.enity.Student with modifiers "private" 像这种错误是因为调用类的私有方法,没有设置访问权限(setAccessible(true); ),
java.lang.IllegalAccessException: Class com.test.Demo2 can not access a member of class com.enity.Student with modifiers "private" 像这种错误是因为调用类的私有方法,没有设置访问权限(setAccessible(true); ),