Four persons were trapped under the debris as a portion of the boundary wall of the Maharajwada school building collapsed, said Ujjain collector Neeraj Kumar Singh.