In this paper, we will prove that there exist no codes of attaining the Griesmer bound with , and . Furthermore, we will prove that there exist no codes for attaining the Griesmer bound with , , , and . The results generalize the nonexistence theorems of Tatsuya Maruta (see ) and Andreas Klein (see ) to a larger class of codes.