class require error