I tried to discuss two cases when $m$ is even and odd. By discussing both cases, $m$ must be odd, and by using the fact that every odd perfect square is congruent to $1$ modulo $8$.
It is clear that $n=3$ and $m=3$ is a solution, and it seems that it is the only one? I tried to prove that the equation admits one solution, but I failed.
Can I get some help, and thanks in advance.