Not able to access the maven dependencies or some dependencies not working on Apigee

Hi,

I am trying to get the page count of a PDF or TIFF file using Java Callout that is passed via form-data. But Apigee is unable to call com/lowagie/text/pdf/RandomAccessFileOrArray or org/apache/pdfbox/pdmodel/PDDocument classes for some reason and I am not even getting a proper stack trace to identify the issue.

Attached the java callout code. Any help is appreciated.

Thank you!

0 2 152
2 REPLIES 2

It sounds like your custom dependencies aren't being compiled into the jar that the service callout is using. It might be worth checking your compilation options?

Thank you! I was missing the "include dependency jar" files section in pom.xml.