I know it's late, but for others facing the same problem..
If you are using eclipse: 1. Go to Project -> Properties -> Java Build Path -> Order and export.. and check the jar file for jtds.version.jar 2. Go to Run Configurations and add this jar file to the user defined jars.