[rules-users] Error running Drools Planner examples

Anton Hughes kurrent93 at gmail.com
Sat Mar 17 06:05:43 EDT 2012


Hi

Im getting the following error when running the Drools Planner examples -
can someone please explain what I need to change, and where?

Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: The
directory dataDir
(C:\jboss\Drools\drools-planner-distribution-5.4.0.Beta2\examples\sources\data\nurserostering)
does not exist. The working directory should be set to the directory that
contains the data directory. This is different in a git clone
(drools-planner/drools-planner-examples) and the release zip (examples).
at
org.drools.planner.examples.common.business.SolutionBusiness.updateDataDirs(SolutionBusiness.java:95)
at
org.drools.planner.examples.common.app.CommonApp.createSolutionBusiness(CommonApp.java:55)
at
org.drools.planner.examples.common.app.CommonApp.<init>(CommonApp.java:35)
at
org.drools.planner.examples.nurserostering.app.NurseRosteringApp.<init>(NurseRosteringApp.java:31)
at
org.drools.planner.examples.app.DroolsPlannerExamplesApp$9.actionPerformed(DroolsPlannerExamplesApp.java:111)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
...

Thanks, and regards,
Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120317/fe94f345/attachment.html 


More information about the rules-users mailing list