web.xml里配了:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/spring-context/applicationContext.xml,
/WEB-INF/spring-context/applicationContext_action.xml,
/WEB-INF/spring-context/applicationContext_dao.xml,
/WEB-INF/spring-context/applicationContext_service.xml,
/WEB-INF/spring-context/applicationContext_security.xml,
</param-value>
</context-param>
然后在applicationContext.xml 又配了:
<!-- <import resource="applicationContext_dao.xml" />-->
<!-- <import resource="applicationContext_service.xml" />-->
<!-- <import resource="applicationContext_action.xml" />-->
<!-- <import resource="applicationContext_security.xml" />-->
重复了