I have Java code that connects to an MS-SQL database and purchases some data.
Before running the code, I set the class path to Unix Server and it worked fine.
But for some reason, the same jar file that worked a few days ago throws a class exception not found by java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver
I have an un-jared jar file and found that the driver class I am loading is:
Class.forName("net.sourceforge.jtds.jdbc.Driver");
present in the specified package structure.
I do not understand how this happens.
Can anyone offer any suggestions on how to fix it.
source share