[rules-users] Drools Planner: Exception on createSolver method

Geoffrey De Smet ge0ffrey.spam at gmail.com
Tue Apr 13 14:05:29 EDT 2010


> Unfortunately I still get the
>> exact same exception on the createSolver method.

I seriously doubt that you get the exact same exception that it can't 
parse environmentMode as you say you've removed the environmentMode 
reference in the xml configuration :)
It must be a different exception that xstream parsing is throwing at 
you, which just looks the same on the surface. Try reading it :)



If I understand correctly, you started from a 5.1.0.M2 example and used 
the 5.0.1 binaries. Since M2 uses features not yet existing in 5.0.1, 
its normal that you get errors. On top of that, M2 isn't backwards 
compatible (see the UpgradingRecipe.txt).

So start from the 5.0.1 version of curriculum course.
Or instead combine drools-planner 5.1.0.M2-SNAPSHOT with 
drools-core/compiler 5.0.1.

With kind regards,
Geoffrey De Smet


dweppenaar schreef:
> Thank you for the reply Geoffrey. As far as I know I am only using the 5.0.1
> versions of the binaries. Here is a list of the jars I included in the
> project:
> 
> http://n3.nabble.com/file/n715539/jars_in_project.jpg 
> 
> I have removed all the jars and re-added (hopefully) only the required ones
> in an attempt to isolate where I went wrong. Unfortunately I still get the
> exact same exception on the createSolver method. I have also removed the
> reference to environmentMode in the xml configuation file, but to no avail.
> 
> Regards,
> De Ville




More information about the rules-users mailing list