Code is not an error, don't know what is wrong, after the success of the login screen can display, click login went into this
Finally found a tomcat version of the problem, thank you for the following post a great god, and not version can also see other solution: push the great god put below
https://blog.csdn.net/CNCDXX_88/article/details/101383345