To address this problem:Net. SF. ehcache. config. configurator # configure: No Configuration
Found. Grouping ing ehcache from ehcache-failsafe.xml found in
Classpath:
Jar: file:/E:/ytools/ssh/tools/Eclipse/myeclipse % 206.0/Eclipse/plugins/com.genuitec.org. hibernate. eclipse_6.0.1.zmyeclipse60316710/myeclipse-data/3.0/lib/ehcache-1.1.jar! Ehcache-failsafe.xml
Find the solution on the Internet:
Cause: this error is reported because no ehcache. xml file exists in the/Web-INF/classes (Web Development) or src directory (Java Development! This file is the hibernate cache configuration file.
Solution: extract the file ehcache-1.1.jar from the ehcache-failsafe.xml and rename it ehcache. XML to copy it to the classes!
Configuration File explanation:
<Defaultcache> sets the default cache data expiration policy.
Name indicates the specific cache name.
Maxelementsinmemory indicates the maximum object data volume that can be stored in the cache.
Eternal indicates whether the data in the cache is a constant.
Timetoidleseconds indicates the cache data passivation time
Timetoliveseconds indicates the cache data lifecycle.
Overflowtodisk indicates whether to enable disk cache when the memory is insufficient.
Feasible Method