In the paper, we consider geodesic mappings of spaces with an affine connections onto generalized symmetric and Ricci-symmetric spaces. In particular, we studied in detail geodesic mappings of spaces with an affine connections onto 2-, 3-, and m- (Ricci-) symmetric spaces. These spaces play an important role in the General Theory of Relativity. The main results we obtained were generalized to a case of geodesic mappings of spaces with an affine connection onto (Ricci-) symmetric spaces. The main equations of the mappings were obtained as closed mixed systems of PDEs of the Cauchy type in covariant form. For the systems, we have found the maximum number of essential parameters which the solutions depend on. Any m- (Ricci-) symmetric spaces (m≥1) are geodesically mapped onto many spaces with an affine connection. We can call these spaces projectivelly m- (Ricci-) symmetric spaces and for them there exist above-mentioned nontrivial solutions.