摘要: spring相当于一个父容器,springmvc相当于一个子容器,当在springAppliication.xml文件中配置扫描包<component-scann>时,不能解析子容器springmvc中的@Controller注解,但是在子容器中配置扫描包<component-scann>时,可以解 阅读全文
posted @ 2018-09-15 15:45 icanner 阅读(386) 评论(0) 推荐(0) 编辑