-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
None
-
NEW
-
NEW
Pressing the "validate" button in the solver configuration editor fails with the message "The scanAnnotatedClasses (ScanAnnotatedClassesConfig()) did not find any classes with a PlanningSolution annotation."
This is because the ProjectClassLoader isn't passed to the SolverFactory:
Instead of
SolverFactory.createFrom...(...);
use
ClassLoader projectClassLoader = ...;
SolverFactory.createFrom...(..., projectClassLoader);
Not sure how to get the ProjectClassLoader, but Walter might know:
<wmedvede> ... the classes generated by the datamodeller (once compiled) are accessible through the ProjectClassLoader, they are not in the SystemClassLoader