From 2c270281a0d44d02a7a2f1a9a52bd72a054e8317 Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Thu, 02 Nov 2017 14:50:37 +0800 Subject: [PATCH] 处理 小数 --- src/main/resources/application.xml | 22 ++++++++++++++++------ 1 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/main/resources/application.xml b/src/main/resources/application.xml index 4eca950..479dc5a 100644 --- a/src/main/resources/application.xml +++ b/src/main/resources/application.xml @@ -10,8 +10,20 @@ http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd"> - <context:component-scan base-package="com.moral.monitor.controller"/> - <context:component-scan base-package="com.moral.monitor.service"/> + <!--<context:component-scan base-package="com.moral.monitor.controller"/>--> + <!--<context:component-scan base-package="com.moral.monitor.service"/>--> + + <context:component-scan base-package="com.moral.monitor.*"/> + <bean id="PropertiesConfigurer" + class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> + <property name="locations"> + <list> + <value>classpath:log4j.properties</value> + <value>classpath:redis-config.properties</value> + <value>classpath:mongodb-config.properties</value> + </list> + </property> + </bean> <mvc:annotation-driven> <mvc:message-converters register-defaults="true"> @@ -37,8 +49,6 @@ <property name="suffix" value=".jsp" /> </bean> - - <!-- <!– ��������� –> <bean id="taskExecutor" class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor"> @@ -48,9 +58,9 @@ <property name="queueCapacity" value="1000000"/> </bean>--> - + <import resource="redis.xml"/> + <import resource="mongodb.xml"/> <import resource="database.xml"/> <import resource="rabbitmq.xml"/> <import resource="quartz.xml"/> - </beans> \ No newline at end of file -- Gitblit v1.8.0