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
In my case Problem is component-scan and java config.
root-context.xml
servlet-context.xml
spring component-scan work two times on xml files. it generate beans inside SpringConfig.java each run time. then duplicate cache manager was created.
so, I changed that like below.
root-context.xml
servlet-context.xml