可以通过类对象的getDeclaredField()方法获取字段(Field)对象,然后再通过字段对象的setAccessible(true)将其设置为可以访问,接下来就可以通过get/set方法来获

NoSuchKey

猜你喜欢

转载自blog.csdn.net/Pei_hua100/article/details/103937683