Originally posted by Anandh Ramesh:
...C:\sqdriver\lib\mssqlserver.jar...
You didn't happen to name the directory on disk "sqldriver" with an l in there (for SQL) did you? Or did it suggest "sqdriver" to keep it at 8 characters?
If that's not it, I'd write a tiny
test class who's main method only does the Class.forName() on the driver. Compile it and run it with a classpath containing only those three JARs. Heck, run it from the directory containing the JARs so you can eliminate directory issues.
Simplify the problem down to a point where it will be obvious that it should work or not. Then add complexity until you find the problem.