Thanks for the quick answer Esteban.
I checked the jars on both my client side and in the
webapps\drools-guvnor\WEB-INF\lib of the guvnor install and they're both:
drools-core-5.1.1.jar (I even put the same jar myself to make sure).
I've also tried to change the value of private static final long
serialVersionUID = 510l; in both
drools-5.1.1-src\drools-core\src\main\java\org\drools\rule\Package.java and
DialectRuntimeRegistry.java but when I do this, the local class
incompatible: stream classdesc serialVersionUID = 5308493362083281112
changes as well.
I'm sure there is something silly I must be doing on my side, but I cannot
find what.
All the best,
Pierre
Od: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] W imieniu
esteban.aliverti(a)gmail.com
Wysłano: Thursday, October 07, 2010 8:08 PM
Do: Rules Users List
Temat: Re: [rules-users] Loading packages from KnowledgeAgent and Guvnor 5.1
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(a)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/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
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users