The school was struck early in the morning, but all pupils were in a shelter at the time and no injuries were reported, city authorities said.