[java] java.lang.IllegalAccessError: tried to access method