尝试创建Lotus Notes会话时出现UnsatisfiledLinkerError [英] UnsatisfiledLinkerError while trying to create lotus notes session

查看:124
本文介绍了尝试创建Lotus Notes会话时出现UnsatisfiledLinkerError的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建Lotus Notes会话,以发送电子邮件.在这样做的同时,我得到了:

I was trying to create lotus notes session, to send email out. While doing so I am getting :

"UnsatisfiedLinkerError : lotus.domino.local.Session.NCreateSession(I)J"

在尝试研究错误时,我知道我需要将nlsxbe.dll文件添加到项目中.

While trying research on the error, I understood I need to add nlsxbe.dll file to the project.

如果是这样,如何将dll添加到eclipse项目?

If that is so, how do I add a dll to eclipse project?

如果这不是问题,请帮助我解决此错误吗?

If that is not the issue, please help me out to resolve this error?

谢谢

推荐答案

Notes.jar添加到您的项目并构建路径.您可以在目录...\Notes\jvm\lib\ext中找到该文件.

Add Notes.jar to your project and build path. You can find the file in directory ...\Notes\jvm\lib\ext.

与您进行会话

import lotus.domino.NotesFactory;
import lotus.domino.NotesThread;
import lotus.domino.Session;
...
NotesThread.sinitThread();
Session session = NotesFactory.createSession();

这篇关于尝试创建Lotus Notes会话时出现UnsatisfiledLinkerError的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆