出现了这样 的报错
Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
在我测试openSession(); 是否为新的时候
CustomerDao CC= new CustomerDao();
CC.save(null);
CC.save(null);
CC.save(null);
Another unnamed CacheManager already exists in the same VM.解决方法
https://blog.csdn.net/xionglangs/article/details/71557290