Hello everyone,

 

I’ve deployed Guvnor as a war in Tomcat and I’m trying to load a drools example (drools-5.1.1-src/drools-examples/drools-examples-brms/mortgage-example/mortgage-sample-repository.xml) as a package into a KnowledgeAgent using the code shown there (http://pastebin.com/TvJn9PeQ).

 

I get a few exceptions including: java.io.InvalidClassException: org.drools.rule.Package; local class incompatible: stream classdesc serialVersionUID = 400, local class serialVersionUID = 510 (full trace available at http://pastebin.com/fRvRMtfR).

 

I’ve tried several things, including checking the serialVersionUID of org.drools.rule.DialectRuntimeRegistry and org.drools.rule.Package as the jiira (https://jira.jboss.org/browse/BRMS-320?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#issue-tabs) suggests, but no luck.

 

My code may be buggy and I would welcome corrections/suggestions.

 

All the best,

Pierre