xxl-job

applicationcontext-base.xml 1002B

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