0
votes

The sample program that comes with the Extension Library works just fine, but when I try to connect to Oracle I get the following error:

Error while reading the relational data Error while loading connection ojdbc14 Error loading JDBC driver class oracle.jdbc.Driver.OracleDriver. If running the server, check that the corresponding package is available in the WEB-INF/lib directory. If running the studio, check that the corresponding package is available in your client library. java.sql.SQLException: Cannot create JDBC driver oracle.jdbc.Driver.OracleDriver Cannot create JDBC driver oracle.jdbc.Driver.OracleDriver java.lang.ClassNotFoundException: Cannot find class oracle.jdbc.Driver.OracleDriver in NSF Cannot find class oracle.jdbc.Driver.OracleDriver in NSF oracle.jdbc.Driver.OracleDriver

It looks like it can't find the jar file, but the jar file is in the following folder:

Lotus/Domino/notedev/domino/workspace/applications/eclipse/plugins

I believe this is the correct path.

Could it be a rights issue?

1

1 Answers

1
votes

The code may not automatically pick up jar files in that directory.

I don't know anything about xpages, but this site shows a manifest file for a notes/domino application, where they specify a class path for the application.

https://www.ibm.com/developerworks/lotus/library/notes-plugin-eclipse/#N100AC