Drools-将java.util.collection作为输入传递给functions.drl时出错
rule1.drl
when
$insitution:InstituteEntity( $departments:departments )
Boolean(booleanValue == true) from (
!validate($departments)
)
then
//Logic
end
错误:
[Error: unable to resolve method using strict-mode: com.rules.validate.validate(java.util.Collection)]
[Near : {... !validate($depa...}]
^]]