I haven't done it in a long time but I think you have to disable strict mode in 
your eclipse ini file

>From the docs:
drools.dialect.mvel.strict = <true|false>

I can't swear that will work though.  What does getProviderClaimNumber return? 
Does it actually have a getValue() method?

From: [email protected] 
[mailto:[email protected]] On Behalf Of Gopu Shrestha
Sent: Wednesday, March 26, 2014 1:29 PM
To: Rules Users List
Subject: [rules-users] BuildError: Unable to Analyse Expression BUT WORKING, 
how can I remove error

It is so annoying to see an error marks in Eclipse Juno with Drools Plug in. 
However the code is working fine...
How can clean up this error??? Please advise...


[cid:[email protected]]

Error Message!!!!!
BuildError: Unable to Analyse Expression System.out.println(".......java 
(getter/setter)...providerClaimNumber.."+$claim.getClaimIdentificationInfo().getProviderClaimNumber().getValue());
                
System.out.println("......mvel...providerClaimNumber.."+$claim.claimIdentificationInfo.providerClaimNumber.value);
                System.out.println("...ctype..."+$ct.value);:
[Error: unable to resolve method using strict-mode: java.lang.String.getValue()]
[Near : {... oviderClaimNumber().getValue()); ....}]
                                                                                
                                  ^
[Line: 32, Column: 0]


Console Output:....
.......java (getter/setter)...providerClaimNumber..130430007701
......mvel...providerClaimNumber..130430007701
...ctype...I

<<inline: image001.png>>

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to