Can taking a backup in WEB-INF/lib foo.jar to foo_backup.jar will effect in project?
What my exact question is…
If I do above kind of thing, will it load both jar? foo.jar and foo_backup.jar?
And as both jar contains same classes inside it. Which will be considered when I use some class (consider com.test.TestClass)? Will it be of foo.jar or foo_backup.jar?
can any one please advice on same? I can remove that foo_backup.jar but I want to know what will happen if this kind of scenario?
Instead of
foo_backup.jar, create a backup with name likefoo.jar.backup.Still if you go with backup as
foo_backup.jarthen I thinkfoo.jarwill be loaded first as it comes first in the listing but still suspect, it may lead into issues(assuming backup is older version) as both the jars and hence the classes inside it would be available in the class path.