Showing
2 changed files
with
4 additions
and
17 deletions
@@ -91,7 +91,7 @@ | @@ -91,7 +91,7 @@ | ||
91 | <groupId>com.yoho.service.model</groupId> | 91 | <groupId>com.yoho.service.model</groupId> |
92 | <artifactId>users-service-model</artifactId> | 92 | <artifactId>users-service-model</artifactId> |
93 | </dependency> | 93 | </dependency> |
94 | - <!-- <dependency> | 94 | + <dependency> |
95 | <groupId>org.springframework</groupId> | 95 | <groupId>org.springframework</groupId> |
96 | <artifactId>spring-core</artifactId> | 96 | <artifactId>spring-core</artifactId> |
97 | </dependency> | 97 | </dependency> |
@@ -135,20 +135,6 @@ | @@ -135,20 +135,6 @@ | ||
135 | <groupId>org.springframework</groupId> | 135 | <groupId>org.springframework</groupId> |
136 | <artifactId>spring-test</artifactId> | 136 | <artifactId>spring-test</artifactId> |
137 | </dependency> | 137 | </dependency> |
138 | - 日志 | ||
139 | - <dependency> | ||
140 | - <groupId>org.slf4j</groupId> | ||
141 | - <artifactId>slf4j-api</artifactId> | ||
142 | - </dependency> | ||
143 | - <dependency> | ||
144 | - <groupId>org.slf4j</groupId> | ||
145 | - <artifactId>jcl-over-slf4j</artifactId> | ||
146 | - </dependency> | ||
147 | - <dependency> | ||
148 | - <groupId>ch.qos.logback</groupId> | ||
149 | - <artifactId>logback-classic</artifactId> | ||
150 | - </dependency> --> | ||
151 | - | ||
152 | <dependency> | 138 | <dependency> |
153 | <groupId>javax.servlet</groupId> | 139 | <groupId>javax.servlet</groupId> |
154 | <artifactId>javax.servlet-api</artifactId> | 140 | <artifactId>javax.servlet-api</artifactId> |
@@ -12,9 +12,10 @@ | @@ -12,9 +12,10 @@ | ||
12 | http://www.springframework.org/schema/mvc | 12 | http://www.springframework.org/schema/mvc |
13 | http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd"> | 13 | http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd"> |
14 | 14 | ||
15 | - | ||
16 | <context:component-scan base-package="com.yoho" /> | 15 | <context:component-scan base-package="com.yoho" /> |
17 | 16 | ||
17 | + <mvc:annotation-driven /> | ||
18 | + | ||
18 | <bean id="springContextUtil" class="com.yoho.unions.common.utils.SpringContextUtil" /> | 19 | <bean id="springContextUtil" class="com.yoho.unions.common.utils.SpringContextUtil" /> |
19 | 20 | ||
20 | <bean id="memcachedClientFactory" class="com.yoho.core.cache.impl.MemcachedClientFactory"> | 21 | <bean id="memcachedClientFactory" class="com.yoho.core.cache.impl.MemcachedClientFactory"> |
@@ -24,7 +25,7 @@ | @@ -24,7 +25,7 @@ | ||
24 | <!-- 元宵节抽签活动写文件 --> | 25 | <!-- 元宵节抽签活动写文件 --> |
25 | <bean class="com.yoho.activity.thread.DrawServiceThread" /> | 26 | <bean class="com.yoho.activity.thread.DrawServiceThread" /> |
26 | 27 | ||
27 | - <mvc:annotation-driven /> | 28 | + |
28 | <!-- 装在properties文件 --> | 29 | <!-- 装在properties文件 --> |
29 | <context:property-placeholder location="classpath*:config.properties" /> | 30 | <context:property-placeholder location="classpath*:config.properties" /> |
30 | <!-- <bean id="restServiceBeanRegistry" class="com.yoho.core.rest.spring.RestServiceBeanRegistry"> | 31 | <!-- <bean id="restServiceBeanRegistry" class="com.yoho.core.rest.spring.RestServiceBeanRegistry"> |
-
Please register or login to post a comment