It is often a matter in which order the libraries will be loaded. apache commons library is very often a part of an component and if you depends on a newer version and load your library than you have to take care that this library classes are not already loaded. Classes will be loaded only once per Java start (Talend does not use special class loaders, only the standard class loader) and classes will not be updated due a further load of a library.
I suggest: extract the methods you need and implement them in a routines and you have always the access to your code.