• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to load Lotus notes JDBC Driver  RSS feed

ng yong boon
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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;
System.out.println("Loading notes driver");
System.out.println("Driver Loaded");
catch (ClassNotFoundException e)
Anyone know why?

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!