Multiple ehcache.xml in classpath
What will happen if there are multiple ehcache.xml f开发者_C百科iles in the classpath? Which one will be picked up?
That will depend on CLASSLOADING. Whichever is found first in CLASSPATH will be loaded and will be in effect for rest of your code.
It is same as keeping same JAR file in multiple paths of your CLASSPATH.
精彩评论