This phase I trial is studying the side effects and best dose of pazopanib hydrochloride in treating young patients with solid tumors that have relapsed or not responded to treatment. Pazopanib hydrochloride may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth and by blocking blood flow to the tumor.