public
class DroolsTest { @SuppressWarnings("unused") private final long serialVersionUID=5308493362083281112L; /***
@param args*/
public static final void main(String[] args) {System.
out.println("Mainnnnnnnnnn");Properties properties =
new Properties(); try {properties.load(
new FileInputStream("Guvnor.properties"));}
catch (IOException e) {}
RuleAgent agent = RuleAgent.newRuleAgent(properties);
System.
out.println("Mainnnnnnnnnn1");RuleBase ruleBase = agent.getRuleBase();
System.
out.println("Mainnnnnnnnnn2");WorkingMemory workingMemory = ruleBase.newStatefulSession();
// Driver d = new Driver("Jarek", 20, null);GuvnorModel gm=
new GuvnorModel();gm.setAge(22);
workingMemory.insert(gm);
workingMemory.fireAllRules();
for (Iterator i = workingMemory.iterateObjects(); i.hasNext();) {System.
out.println(i.next().getClass().getCanonicalName());}
}
}//
Hi ,
gettting the same error trace even after declaring the private final long
serialVersionUID=5308493362083281112 in the java class.
Please suggest to solve.
Shantha
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/RuleAgent-in-webservice-tp767359p871528.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users