A class of spherically symmetric solutions with conformal killing vectors