After upgrading to coldfusion 10, we are facing an issue with Java objects passed from Coldfusion to Java and vice versa.
We have one functions myfunctionname in Java, which use coldfusion.sql.QueryTable as one parameter.
Now if I call this Java function with a cfquery variable as a parameter from coldfusion code
Either there are no methods with the specified method name and argument types or the myfunctionname method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity.
Also at some other places I am getting this errors-
Cannot convert coldfusion.sql.QueryTable to coldfusion.sql.QueryTable.
- Ljava.lang.String; cannot be cast to java.lang.String
All these functions were working fine in coldfusion 8. Can someone provide help on this.