We recently upgraded to WeBWorK 2.16 and mathjax seems to work in general.
But in the solution part it does not work at all. It does not show any math formulas in any solutions.
Mathjax is displaying properly in solutions on my 2.16 installation. Here are a few things to check:
Found the mistake.
From 2.15 localOverrides.conf I copied accidentally the line
$webworkURLs{MathJax} = "https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-MML-AM_HTMLorMML-full";
Changing it to
$webworkURLs{MathJax} = "$webworkURLs{htdocs}/mathjax/es5/tex-chtml.js";
solved the problem.