*
The moose likes JDBC and the fly likes Unable to load Lotus notes JDBC Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Unable to load Lotus notes JDBC Driver" Watch "Unable to load Lotus notes JDBC Driver" New topic
Author

Unable to load Lotus notes JDBC Driver

ng yong boon
Greenhorn

Joined: Aug 20, 2004
Posts: 1
hi,

I am trying to access Notes Database using the Notes Java API (JdbcDomino.jar) Provided by IBM.

I encounter this error
====================================
Loading notes driver
java.lang.NoSuchFieldError: sqlState
at lotus.jdbc.domino.DominoEnvCLI.sqlEnvError(Native Method)
at lotus.jdbc.domino.DominoEnvCLI.getODBCException(DominoEnvCLI.java)
at lotus.jdbc.domino.DominoEnvCLI.createEnvHandle(DominoEnvCLI.java)
at lotus.jdbc.domino.DominoDriver.<init>(DominoDriver.java)
at lotus.jdbc.domino.DominoDriver.<clinit>(DominoDriver.java)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at Domino_Sample1.main(Domino_Sample1.java:10)=========================================================
Source Code

import java.sql.Connection;
public class Domino_Sample1
{
public static void main( String[] args)
{
Connection con;
try
{
System.out.println("Loading notes driver");
Class.forName("lotus.jdbc.domino.DominoDriver");
System.out.println("Driver Loaded");
}
catch (ClassNotFoundException e)
{
e.printStackTrace();
}
}
}
==============
Anyone know why?

Regards,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to load Lotus notes JDBC Driver
 
Similar Threads
MySQL db - migrating from Access (but where is the driver?!)
MySQL with ant: can not find driver class
Java-Xml file not getting Connected to DataBase
JDBC Problem.... Why no Answer
"Hello World" execution error