1.controller层未加上注解@controller 2.applicationContext-mvc.xml中未扫描controller包 转载于:https://my.oschina.net/u/4158949/blog/3081814