France midfielder Lassana Diarra will miss the World Cup because of a stomach problem.