Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 883
lee_mcmullen Avatar asked Dec 20 '22 10:12

lee_mcmullen


1 Answers

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

like image 70
Panu Haaramo Avatar answered May 11 '23 14:05

Panu Haaramo