Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
484 views
in Technique[技术] by (71.8m points)

xpages - Are JAR files in WebContent/WEB-INF/lib available to Java design elements in Domino Designer?

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

They are after you do:

Project -> Properties -> Java Build Path -> Libraries -> Add JARS...

update:

Frantisek Kossuth tells us about a nice shortcut in his comment:

in Package Explorer view (Java perspective, or add this view to XPages/Domino Designer perspective), simply right click JAR file and use "Build Path/Add to Build Path" menu


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...