Another unnamed CacheManager already exists in the same VM (ehCache 2.5)

前端 未结 17 1939
囚心锁ツ
囚心锁ツ 2020-11-30 20:41

This is what happens when I run my junit tests...

Another CacheManager with same name \'cacheManager\' already exists in the same VM. Please 
provide unique          


        
17条回答
  •  失恋的感觉
    2020-11-30 21:04

    I had the same issue with my integration tests using JPA (2.0) + Hibernate (3.6.4) + Spring (3.2.4). The issue was resolved using following Hibernate configuration:

    
    

    instead of using

    
    

提交回复
热议问题