The student died at the school, and an officer was wounded and rushed to hospital for surgery, authorities said. No one else was hurt.