去掉@EnableWebMvc 注解 ,相关原因请看原博文 https://blog.csdn.net/testcs_dn/article/details/80249894 转载于:https://www.cnblogs.com/0kuxia0/p/9605436.html