报错cannot be referenced from a static context的解决方法

NoSuchKey