java.lang.NoClassDefFoundError: com/merant/jdbcspy/SpyLogger
at com.microsoft.jdbcx.base.BaseDataSource.getConnection(Unknown
Source)
My code looks like this (with real values)
com.microsoft.jdbcx.sqlserver.SQLServerDataSource ds = new
com.microsoft.jdbcx.sqlserver.SQLServerDataSource();
ds.setDescription("My SQL Server");
ds.setServerName("SERVER_NAME");
ds.setPortNumber(1433);
ds.setDatabaseName("DB_Name");
con = ds.getConnection(id,pwd);
Why is it looking for Merant class, this class doesn't exist in any of the
.jar files
Ms has bought the driver from Merant and Ms has not replace all words
"merant" with "microsoft" in the source code !!!
You can wait for a fix from MS or you can use another driver like i-net
OPTA2000 from
http://www.inetsoftware.de/English/Produkte/OPTA
Volker Berlin
i-net software
Michael Geier schrieb in Nachricht ...