指定ehcache.xml 的路径

 <prop key="hibernate.cache.provider_configuration_file_resource_path">conf/ehcache/ehcache.xml</prop>

你可能感兴趣的:(File)