Tarik Ouhamou
Tarik Ouhamou

Reputation: 427

Optaplanner OptaPlannerXmlSerializationException when using benchmark

Hello im new to optaplanner and im trying to use the benchmark functionality in the library so i can test multiple local search algorithme on only one dataset.

But when i launch my benchmark it returns to me this error which is an OptaplannerXmlSerializationException enter image description here

This is how i call the benchmark : enter image description here

This is my benchmark xml file : enter image description here

This is my Entity class : enter image description here

This is my Solution class : enter image description here

Im stuck here any help is appreciated

Upvotes: 0

Views: 38

Answers (1)

Radovan Synek
Radovan Synek

Reputation: 1029

The OptaplannerXmlSerializationException is defined in optaplanner-core, while the PlannerBenchmarkFactory comes from optaplanner-benchmark. Would you please check the deployment of your application? Is there a chance these classes are loaded by different classloaders?

Upvotes: 1

Related Questions