Which when i start the server drools is on produces:
rg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kbase5': Invocation of init method failed; nested exception is java.lang.RuntimeException: [12,30]: [ERR 101] Line 12:30 no viable alternative at input '-' in rule "_13" in pattern OOPVehicle[23,30]: [ERR 101] Line 23:30 no viable alternative at input '-' in rule "_14" in pattern OOPVehicle[34,30]: [ERR 101] Line 34:30 no viable alternative at input '-' in rule "_15" in pattern OOPVehicle"
On Fri, Jun 10, 2011 at 9:48 AM, Jon Gil
<jonsprogrammingemail@gmail.com> wrote:
more specifically
|
RuleTable |
|
| Condition |
Action |
| $a:OOPVehicle |
|
| (redbookYear - vehicleYear) > $param |
System.out.println($param); |
| |
|
|
50 |
"reducing Redbook Value by 50 years" |
|
20 |
"reducing Redbook Value by 20 years" |
|
5 |
"reducing Redbook Value by 5 years" |
I want my condition to be (Year1 - Year2) > $param