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
It happened to me when switching to Spring Boot 2.0.2. Resolved it by doing the following:
REMOVE in application.yml
spring.jpa.properties.hibernate.cache.region.factory_class: org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory
REMOVE in pom.xml
net.sf.ehcache
ehcache
KEEP in pom.xml only
org.hibernate
hibernate-ehcache