You can also put any jars you want to implement in a path and load them into the Application.cfc using this.javaSettings.loadPaths
, for example:
this.javaSettings.loadPaths = [getDirectoryFromPath(getCurrentTemplatePath()) & "lib/"];
this.javaSettings.reloadOnChange=true;
and then create your object wherever it is needed:
obj = createObject( 'java', 'com.path.to.myclass' );
That said, putting it into WEB-INF/lucee/lib should also allow you to find the class, so I suspect you may just have a bad call to get the class. For portability, however, I prefer to load jar’s in Application.cfc vs. putting them in the lib dir.
HTH
– Denny