[rules-users] Loading packages from KnowledgeAgent and Guvnor 5.1

Pierre de Leusse pdl at agh.edu.pl
Thu Oct 7 08:33:47 EDT 2010


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/mort
gage-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.syste
m.issuetabpanels%3Acomment-tabpanel#issue-tabs) suggests, but no luck.

 

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

 

All the best,

Pierre

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101007/eaaeb16a/attachment.html 


More information about the rules-users mailing list