This error happens because you have an old version of B4AShared.jar in your additional libraries folder (the folder that is set under Tools - Configure paths). You should just delete this file as there is a newer one in the internal libraries folder.
This issue will not happen any more in v2.20 as the internal libraries folder will be checked first.