Zoho Catalyst doesn't currently have any dependency management for Java functions which can be a problem when using 3rd party libraries with deep dependencies to other libs.
In order to work around this, create a standalone mvn project with a pom.xml (the attached example has dependencies for Google recatpcha). The pom.xml needs the maven assembly plugin which packages all the dependencies into a single jar for you. Once configured run:
mvn package
The single jar with all the dependencies will sit in ./target/my-app-1-jar-with-dependencies.jar which can be added to your lib folder of the relevant function.