可能是配置文件路径不对
在配置spring到tomcat里面的时候我们需要加一个listener,添加一个listener以后还要告诉tomcat去哪里找spring的applications。xml文件,所以还要添加一个context-param。就是说告诉tomcat去哪里加载spring配置文件
在web.xml中没有引入applicationContext.xml,及其applicationContext-*.xml文件,或者是引入的路径错误
GradeController.class有问题,class是编译后的文件。
重新rebuild项目