|
From: Dominic S. <do...@ss...> - 2000-09-20 19:49:54
|
I am trying to improve the scripting in XInsert so that any Java function can be run from a script using reflection but have come to a problem and have no idea why. I use reflection to run a static method defined in the script, this works fine when the class is in the XInsert jar file. But if the same class is in the classpath, but not in the XInsert jar file it throws a NoSuchMethodException. Clearly the class is found by the JVM, and the method is the same. I really can not understand this behaviour at all and would be grateful for any help. Dominic |