[Opensource] cant find/load the database driver

larry hamel expresso at codeguild.com
Fri Jan 31 15:42:32 PST 2003


the quick fix:

drop jtds-0.5.1.jar into WEB-INF/lib/  and you can ignore the classpath

the problem:

sounds like you have either unpacked a jar, or aren't clear about jars in classpath.  either way, consider read more about java/classpaths on the web.

good luck!

At 07:23 PM 1/29/2003, you wrote:
>Hi
>I got the following error while run DB create using SQL Server 7.0 database with a new jdbc driver (jtds).
> 
>"cant find/load the database driver 'net.sourceforge.
>jtds.jdbc.Driver' (no description)"
> 
>The following are my configuration:
> 
>1. Driver = net.sourceforge.jtds.jdbc.Driver
>2. url = jdbc:jtds:sqlserver://localhost:1433/myDB; TDS=7.0
> 
>In the (jtds-driver) properties file,
>1. url = jdbc:jtds:sqlserver://localhost:1433/myDB
>2. user=sa
>3. password=
>4. charset=UTF-8
>5. TDS=7.0
> 
>In the Environmental variable (win XP), I set the classpath of the jtds (c:\java\jtds;).
> 
>Can anybody help to rectify the error. Sorry for my English. Thanks in advance.
>- Lee Chong




More information about the Opensource mailing list