For all the reasons pointed out above +
A solid shaft typically has much less fatigue life due to poor metallurgical properties at its innermost fibres (casting/forging lapses). This is also why the engine compressor and turbine disks do not have solid shapes all the way to their center point.