I am migrating a Saxon-B based Java codebase to saxon 9.

Usage env is,

* JAXP API (legacy codebase)

* Saxon EE eval license

* saxon-license.lic in the same directory having saxon9ee.jar

I get following error when invoking (any) external java function,


sutils prefix is mapped to uri 'java:org.apache.commons.lang.StringUtils'

"Caused by: net.sf.saxon.trans.XPathException: Cannot find a matching 0-argument function named {java:org.apache.commons.lang.StringUtils}capitalize(). The namespace URI and local name are recognized, but the number of arguments is wrong".

This works fine on Saxon-B edition. 

Appreciate any help.