引入了spring 的包,包括core,content,mvc等等,配置文件也有spring-mvc-3.0.xsd的schema。我的工程不是web的,用不了<mvc:annotation-driven/>,报错是说noclassdeffoundexception。很奇怪,难道非web工程用不了注解?