我的 test-appContext.xml 文件中有以下配置,用于支持执行 Spring 集成测试。
<bean id="cacheManagerConfig" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
<property name="configLocation" value="file:/web/${websphere.env}/${websphere.Domain}/${websphere.Name}/myportal/config/ehcache.xml"/>
</bean>
我正在使用带有 spring 4 的 junit 4.12 进行 MVC 流的集成测试。
Spring集成测试中如何处理ehcache.xml文件路径。
谢谢 :)