在SpringMVC配置文件中配置注解开发设置配置注解需要扫描的位置配置处理器映射配置注解适配器调用被注解的controller处理器映射和注解适配器注册一行代替xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:mvc="http://www.springframework.org/schema/mvc"xmlns:context="http://www.springframework.org/schema/context"xmlns:aop="http://www.springframework.org/schema/aop