Subject:external function not found when it's in a package Author:Howard Ungar Date:22 May 2002 04:20 PM
When I use the internal processor to transform using a java extension function, I get an error: java.lang.NoSuchMethodError: formatJulDate.
However, if I eliminate the package declaration at the top of the java file it works fine. Note that I am putting the java .class file into the subdirectory of the classpath which corresponds to the package name.
Subject:RE: external function not found when it's in a package Author:Ivan Pedruzzi Date:22 May 2002 04:30 PM
Howard,
The problem is not in the classname but in the method signature as the
error is pointing out (java.lang.NoSuchMethodError). Check the stylus
documentation for java extension constraint
Ivan
> -----Original Message-----
> From: stylus-studio-tech Listmanager [mailto:listmanager]
> Sent: Wednesday, May 22, 2002 4:32 PM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: external function not found when it's in a package
>
>
> From: "Howard Ungar"
>
> When I use the internal processor to transform using a java
> extension function, I get an error:
> java.lang.NoSuchMethodError: formatJulDate.
>
> However, if I eliminate the package declaration at the top of
> the java file it works fine. Note that I am putting the java
> .class file into the subdirectory of the classpath which
> corresponds to the package name.
>
>
>
> To reply: mailto:stylus-studio-tech.5128@edn.exceloncorp.com
> To start a new topic: mailto:stylus-studio-tech@edn.exceloncorp.com
> To login: http://edn.exceloncorp.com/~SSDN
>
>