I have found it that in elementary discussions of black-body radiation, other than justifying electromagnetic waves should exist from Maxwell's equations, those equations are not used for anything further. It seems to be a mostly thermodynamic problem to which later a quantum-mechanical explanation was found.
My question is, were there any electromagnetic consideration for the ultraviolet catastrophe? If so, how did those considerations go along when quantum mechanics was proposed?