applicationcontext-base.xml 1.1 KB

1234567891011121314151617181920212223
  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" xmlns:context="http://www.springframework.org/schema/context"
  4. xmlns:util="http://www.springframework.org/schema/util"
  5. xsi:schemaLocation="http://www.springframework.org/schema/beans
  6. http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  7. http://www.springframework.org/schema/context
  8. http://www.springframework.org/schema/context/spring-context-3.0.xsd
  9. http://www.springframework.org/schema/util
  10. http://www.springframework.org/schema/util/spring-util.xsd">
  11. <context:component-scan base-package="com.xxl.job.admin.dao" />
  12. <bean id="freemarkerConfig" class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
  13. <property name="templateLoaderPath" value="/WEB-INF/template/" />
  14. <property name="freemarkerSettings">
  15. <bean class="org.springframework.beans.factory.config.PropertiesFactoryBean">
  16. <property name="location" value="classpath:freemarker.properties" />
  17. </bean>
  18. </property>
  19. </bean>
  20. </beans>