I have created a runnable jar containing drools engine functionality (.drl files are also inside jar) while running on windows the output is fine but on ZOS I get the below error with respect to .drl files.
java.lang.RuntimeException: Error while creating KieBaseÝMessage Ýid=1, kieBase=
rules, level=ERROR, path=rules/Sample.drl, line=1, column=0
text=ÝERR 101¨ Line 1:41 no viable alternative at input ''¨, Message Ýid=2, k
ieBase=rules, level=ERROR, path=rules/Sample.drl, line=1, column=0
text=ÝERR 101¨ Line 1:98 no viable alternative at input ''¨, Message Ýid=3, k
text=ÝERR 101¨ Line 1:98 no viable alternative at input ''¨, Message Ýid=3, k
ieBase=rules, level=ERROR, path=rules/Sample.drl, line=1, column=0
text=ÝERR 101¨ Line 1:114 no viable alternative at input ''¨, Message Ýid=4,
kieBase=rules, level=ERROR, path=rules/Sample.drl, line=1, column=0
text=ÝERR 101¨ Line 1:115 no viable alternative at input ''¨, Message Ýid=5,
kieBase=rules, level=ERROR, path=rules/Sample.drl, line=1, column=0
text=ÝERR 101¨ Line 1:116 no viable alternative at input ''¨, Message Ýid=6,
kieBase=rules, level=ERROR, path=rules/Sample.drl, line=1, column=0
text=ÝERR 101¨ Line 1:117 no viable alternative at input ''¨, Message Ýid=7,
kieBase=rules, level=ERROR, path=rules/Sample.drl, line=1, column=0
text=ÝERR 101¨ Line 1:118 no viable alternative at input ''¨, Message Ýid=8,
kieBase=rules, level=ERROR, path=rules/Sample.drl, line=1, column=0
text=ÝERR 101¨ Line 1:119 no viable alternative at input ''¨, Message Ýid=9,
kieBase=rules, level=ERROR, path=rules/Sample.drl, line=1, column=0 `package com.cft.hogan.test.drools.example.drink;`
import com.cft.hogan.test.drools.Person
rule "CanDrink"
when
p : Person( age >= 21 )
then
p.setCanDrink(true);
end