Error(10,1): [Static type checking] - Cannot find matching method oracle.jbo.server.SequenceImpl#<init>(java.lang.String, java.lang.Object).
Please check if the declared type is right and if the method exists.
Solution 1:
Check if there is residue in meta data for groovy that was recently removed in VO/EO
Eg: VOOperations.xml in my case (12c)
Solution 2:
In VO source code check for trustMode. If any expression has untrusted, set it to default(trusted).
<TransientExpression
Name="ExpressionScript"
trustMode="untrusted"
CodeSourceName="VORow"/>
If that doesn't work follow the below steps
a) Add import in .bcs file
import groovy.transform.TypeChecked;
import groovy.transform.TypeCheckingMode;
b) add this annotation before def ...expression()
@TypeChecked(TypeCheckingMode.SKIP)
Same problem, Just restarted Jdeveloper and it worked
ReplyDelete