Fix NoSuchMethodError, which appears after execution from Eclipse