For a Nd:YVO4 crystal, a strong thermal lens astigmatism is observed by using a probe beam technique. By orienting the c-axis of the Nd:YVO4 crystal in the tangential plane of the ring resonator, we find the two astigmatisms introduced by the ring cavity and thermal lens can be mutually compensated. Such compensation improves the stability, beam quality, and conversion efficiency of the laser. ...