我已经注释了
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "file:WebContent/WEB-INF/dispatcher-servlet.xml" })
<!-- Start of EhCache -->
<cache:annotation-driven />
<context:component-scan base-package="caching" />
<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheCacheManager" p:cacheManager-ref="ehcache"/>
<bean id="ehcache" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"
p:configLocation="/WEB-INF/ehcache.xml"
p:shared="true"/>
<!-- End of EhCache -->
它一直说没有找到ehcache.xml ......但在普通服务器上可以找到它。我可以知道是什么问题吗?