One way that would also work is to just build everything from source

git clone ...droolsjbpm-build-bootstrap
cd droolsjbpm-build-bootstrap/script
./git-clone-others.sh
./mvn-all.sh clean install -DskipTests -Dfull

On 09-04-13 09:26, Stephen Masters wrote:
Doing a quick count of all the contents of the Guvnor WEB-INF/lib directory, there are about 90 jars. Any of those, which are also in your project could be causing the problem. I take it that you are using exactly the same snapshot for Guvnor as you are for your Drools runtime?

If you want to work out which it is, then you have 3 choices that I can think of off-hand:
  1. Dump the contents of the Guvnor WEB-INF/lib directory in your own project's lib. A really bad idea, btw.
  2. Search through all the Jars to find out which of them contains the class that your stack trace is complaining about. The stack trace is giving you the serialVersionUID of the class, so it's just a case of doing a text search through all of your jars to find it. Replace the jar in your project with the one from Guvnor.
  3. Use Maven to build your project so that you are using the correct dependencies.
That is assuming that the out-of-sync class isn't in your own code. You did search your code for those serialVersionUIDs didn't you?

Steve


On 9 Apr 2013, at 06:26, abhinay_agarwal <abhinay_agarwal@infosys.com> wrote:

I downloaded the guvnor-distribution-5.5.1-SNAPSHOT from
https://hudson.jboss.org/hudson/job/guvnor-5.5.x/ which mike provided me.

I wrote rules into it, build the package and created a snapshot. Now, i want
to fire those rules from my project in eclipse,using changeset, i do
understand a drools runtime is required to do so.
Inorder to achieve this, I added the jars found inside
"drools-distribution-5.5.1-20130408.101252-201" into my project build path.

I dont understand, if I am not supposed to add these jars into the build
file of my project, then which jars should I add ?

Thanks,
Abhinay



--
View this message in context: http://drools.46999.n3.nabble.com/Error-using-5-5-1-guvnor-built-with-5-5-0-Final-jars-tp4023247p4023254.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



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