4

When using Domino Designer 8.5.3, I have a bunch of custom classes added using the Java design element. I want to use a 3rd party JAR in my custom classes in the same way you would when using external JARs in xPages SSJS, via Package Explorer:

WebContent-->WEB-INF-->lib

However my custom classes aren't picking the JAR up.

Is this a known limitation or have I got my configuration screwed up somewhere?

4

2 回答 2

10

他们在你做之后:

项目 -> 属性 -> Java 构建路径 -> 库 -> 添加 JARS...

更新:

Frantisek Kossuth 在他的评论中告诉我们一个不错的捷径:

在 Package Explorer 视图(Java 透视图,或将此视图添加到 XPages/Domino Designer 透视图)中,只需右键单击 JAR 文件并使用“构建路径/添加到构建路径”菜单

于 2013-01-22T18:03:42.363 回答
1

我有一个类似的问题(从托管 bean 中的导入 jar 访问方法)。看来您需要将它们导入您的机器/服务器的文件系统中。

于 2013-03-02T23:11:00.533 回答