Sounds like a Class loader problem. Make sure that only one of the Driver classes is available to the application. (via jar file or whatever)
I don't know how much you know about Class loaders so bear with me here. The ClassLoader that physically loads a class is part of the class "signature" for the duration that the class is loaded. If the same class is loaded by a different ClassLoader it is completely different (signature wise) than the first one. So, if an application is looking for the second instance and can only see the first one you'll get your exception because they are different.
read this:
http://www.javaworld.com/javaworld/jw-1 ... depth.html
Hope this helps.
John G.