1
votes

org.openntf.domino API M2.5C on Domino 8.5.3FP2 win 64.

I have imported M2.5C into my project, which currently uses "traditional" Domino java techniques. I seem to having problems creating a session, getting current database, either directly from the openntf api or using the Factory.fromLotus() method as I get the following error:

HTTP JVM: java.lang.NoClassDefFoundError: lotus/domino/NotesCalendar

e.g.

 import org.openntf.domino.*;
 import org.openntf.domino.utils.*;

 org.openntf.domino.Session s = null; 
 lotus.domino.Session sess_dom = DominoAccess.getCurrentSession(); 
 //  All good so far and I can do whatever with this session
 //  object e.g. sess_dom.getEffectiveUserName();

 // All these error
 s = Factory.getSession();
 s = XSPUtil.getCurrentSession();
 s = Factory.fromLotus(sess_dom, org.openntf.domino.Session.class, null);

If I follow Factory.getSession(), it looks like it ultimately does a fromLotus(). I must be missing something really simple, any help would be greatly welcomed.

1

1 Answers

2
votes

Nick, the OpenNTF Domino API requires Domino 9.0. Earlier versions (including 8.5.3) do not have the NotesCalendar class in the IBM-provided API.

A few people have expressed interest in a backwards-compatible version, but we have been hesitant as it would be a true fork. We've been looking for a maintainer for such a fork. Are you interested?