[rules-users] unable to resolve method using strict-mode:

Roopa roopa.musuley at gmail.com
Wed Aug 21 10:50:23 EDT 2013


You are right.
All the 4 DRLs were in the same package. But updateQuery() had different
method signature in all DRL files.

I gave different package names and the same updateQuery() name. It worked.
Thank You for your help.

Tried function overloading, giving different return type and different
parameters. 
This is the error:

The type 'methodName' is already defined	    Drools Error

As said by you, I will try moving the common functionalities to helper
class.

Thank You.






--
View this message in context: http://drools.46999.n3.nabble.com/unable-to-resolve-method-using-strict-mode-tp4025571p4025635.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list