Includes bibliographical references.The greatest obstacle in calculating the self-energy Feynman diagram is that it is, in principle, linearly divergent. So far the self-energy of a massive quark in cavity quantum chromodynamics has only been calculated for the lowest cavity mode ls1/2. The methods used so far, have been based on the multiple reflection formalism, in which the zero reflection term is extracted out analytically and evaluated separately using Pauli-Villars regularization. This thesis is based on the dimensional regularization scheme, adapted for use in the cavity, by Stoddart et al., who calculated the self-energy for a massless quark. This involves analytically isolating the divergences using dimensional regularization and then removing the divergences using the minimal subtraction (ms) scheme or some similar subtraction scheme. In this thesis, the self-energies of massive quarks have been calculated using the ms scheme for a number of low-lying cavity modes. The ls1/2 results have also been compared with the Pauli-Villars regularization scheme used by Goldhaber, Jaffe and Hansson