A Spanish military plane crashed into the sea off the country’s southeastern coast during a training exercise on Thursday, killing its pilot, the air force said.