On the problem of existence of holomorphic first integrals