Authored by DengXinFei

spring配置

... ... @@ -91,7 +91,7 @@
<groupId>com.yoho.service.model</groupId>
<artifactId>users-service-model</artifactId>
</dependency>
<!-- <dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</dependency>
... ... @@ -135,20 +135,6 @@
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
</dependency>
日志
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency> -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
... ...
... ... @@ -12,9 +12,10 @@
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd">
<context:component-scan base-package="com.yoho" />
<mvc:annotation-driven />
<bean id="springContextUtil" class="com.yoho.unions.common.utils.SpringContextUtil" />
<bean id="memcachedClientFactory" class="com.yoho.core.cache.impl.MemcachedClientFactory">
... ... @@ -24,7 +25,7 @@
<!-- 元宵节抽签活动写文件 -->
<bean class="com.yoho.activity.thread.DrawServiceThread" />
<mvc:annotation-driven />
<!-- 装在properties文件 -->
<context:property-placeholder location="classpath*:config.properties" />
<!-- <bean id="restServiceBeanRegistry" class="com.yoho.core.rest.spring.RestServiceBeanRegistry">
... ...