spring-main.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xmlns:context="http://www.springframework.org/schema/context"
  5. xmlns:aop="http://www.springframework.org/schema/aop"
  6. xmlns:mvc="http://www.springframework.org/schema/mvc"
  7. xsi:schemaLocation="
  8. http://www.springframework.org/schema/beans
  9. http://www.springframework.org/schema/beans/spring-beans-4.2.xsd
  10. http://www.springframework.org/schema/context
  11. http://www.springframework.org/schema/context/spring-context-4.2.xsd
  12. http://www.springframework.org/schema/aop
  13. http://www.springframework.org/schema/aop/spring-aop-4.2.xsd
  14. http://www.springframework.org/schema/mvc
  15. http://www.springframework.org/schema/mvc/spring-mvc-4.2.xsd">
  16. <bean id="placeholderConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
  17. <property name="locations">
  18. <list>
  19. <value>classpath:conf/db.properties</value>
  20. <value>classpath:conf/servlet.properties</value>
  21. <value>classpath:conf/fastdfs.properties</value>
  22. <value>classpath:conf/mq.properties</value>
  23. </list>
  24. </property>
  25. <property name="fileEncoding" value="UTF-8"/>
  26. </bean>
  27. <import resource="classpath:spring/spring-manager-main.xml"/>
  28. <import resource="spring-mvc.xml"/>
  29. <import resource="spring-shiro.xml"/>
  30. <import resource="spring-rabbit.xml"/>
  31. <import resource="classpath:kmall-api.xml"/>
  32. </beans>