[rules-users] Not able to detect how to correct ERR 102

Maxime Falaize maxime.falaize at gmail.com
Fri Mar 21 07:53:24 EDT 2014


The problem seems to be in the DSL file. Can you give us its contents ?


2014-03-21 12:47 GMT+01:00 ankit3j <ankit3j at gmail.com>:

> Below is a sample DSLR code I am trying out. Now I am getting error in
> "when"
> block. After hours of trying to search for a solution I have not yet been
> able to detect the error.
>
> package com.sample
> import com.sample.*;
> //expander sample.dsl
> rule "hello rule"
>         when
>                 There is a "$customer" with first name "David"  // This is
> where the error is
>         then
>                 Greet Customer
> end
>
> [ERR 102] Mismatched input "is" in rule "hello rule"
>
> Any idea whats wrong with this line??
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Not-able-to-detect-how-to-correct-ERR-102-tp4028884.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
Maxime FALAIZE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140321/e81267e1/attachment.html 


More information about the rules-users mailing list