先看这篇文章:http://www.2cto.com/Article/201210/164267.html
http://caipiao.xunlei.com/WEB-INF/web.xml
<beans xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd" default-lazy-init="true"><description>Spring公共配置文件</description><!-- 对配置信息的统一管理 ,可以动态刷新属性值begin--><bean class="com.aicaipiao.webclient.obixlabs.xconfig.adapters.spring.XConfigProcessor"><constructor-arg value="classpath:/xconfiguration.xml"/></bean><!--
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:application.properties</value>
</list>
</property>
</bean>
--><!-- 对配置信息的统一管理 ,可以动态刷新属性值end--><!-- import webclient common context begin --><import resource="classpath*:webclient-common-context.xml"/><!-- import webclient common context end --><!-- hessian调用平台服务里的接口 begin--><import resource="classpath*:remoting-core-service-client.xml"/><!-- hessian调用平台服务里的接口 end--><!-- memcached client配置 begin --><!-- memcached连接参数配置 begin --><import resource="classpath*:cacheContext.xml"/><bean id="memClientConfig" class="com.aicaipiao.memcached.client.spy.MemClientConfig"><constructor-arg index="0" type="java.lang.String" value="${memClientConfig_url}"/></bean><bean id="memcachedIdGenerator" class="com.aicaipiao.memcached.client.spy.MemcachedIdGenerator"><property name="systemId" value="webclient"/><property name="moduleId" value="all"/></bean><!-- memcached client配置 end --></beans>
附带svn:
http://backend.t.kankan.com/.svn/entries
http://backend.t.kankan.com/.svn/text-base/common.php.svn-base
http://t.kankan.com/.svn/entries
修复方案:
多注意WEB-INF目录!