java.lang.UnsatisfiedLinkError: lotus/domino/axis/transport/http/NotesSocket.openConnection()

java.lang.UnsatisfiedLinkError: lotus/domino/axis/transport/http/NotesSocket.openConnection()

我对本机 java 方法有疑问。

我什至在静态块中手动加载这个 dll 文件:

static {
        System.loadLibrary("nnotes");
    }

但还是有例外:

java.lang.UnsatisfiedLinkError: lotus/domino/axis/transport/http/NotesSocket.openConnection()

我 运行 我的代码通过带有适当 jre 的 intellij idea

Here's the result of DLL Export Viewer

我完全不明白为什么它不起作用

我没有从 intellij idea 找到使用 domino web 服务消费者的方法。

但是您可以使用 apache axis jars 手动生成该消费者并且它工作正常。