Make sure that the drools' version you are using matches with Guvnor's version.

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


2010/10/7 Pierre de Leusse <pdl@agh.edu.pl>

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


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users