Implementing OptaPlanner in Eclipse

Sdílet
Vložit
  • čas přidán 17. 02. 2015
  • Implementing OptaPlanner in Eclipse using JAVA

Komentáře • 13

  • @Maaaarsel
    @Maaaarsel Před 5 lety +2

    Thanks Vikas. For newer versions of Eclipse, when adding .jar in the Properties/Java Build Path/Libraries (min 14:30) be careful to select the Classpath, and not the Modulepath. Regards.

  • @kentzhang6466
    @kentzhang6466 Před 7 lety

    This video is very helpful for me, a newbie for OptaPlanner, thank you very much!

  • @javiiglesias9768
    @javiiglesias9768 Před 7 lety

    Thanks!. It really help people with no expertise on java tech, but interested on optaplanner!

  • @siddharthsaraiya5392
    @siddharthsaraiya5392 Před 9 lety

    Vikas, thanks for posting this. This is helpful.

  • @hrosen101
    @hrosen101 Před 9 lety

    This video was very helpful thank you so much!

  • @Crantorable
    @Crantorable Před 7 lety

    Thanks a lot, your video was very useful :D

  • @peterryan8452
    @peterryan8452 Před 8 lety

    Thank you, Vikas

  • @pinumpatel
    @pinumpatel Před 3 lety

    I am looking for an Optaplanner for Bangalore location. If you have any references please share.

  • @m0700226
    @m0700226 Před 4 lety

    Hey Vikas. I am using a newer version of eclipse. When I follow the steps plus ensuring I add it to classpath as Maaarsel stated the program loads but then when you click on the examples this error message comes up: Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: The directory dataDir (C:\Users\Hussain Zubaidi\Desktop\optaplanner_eclipseWS\CLMP Work Rota\data
    urserostering) does not exist.
    Either the working directory should be set to the directory that contains the data directory (which is not the data directory itself), or the system property org.optaplanner.examples.dataDir should be set properly.
    The data directory is different in a git clone (optaplanner/optaplanner-examples/data) and in a release zip (examples/sources/data).
    In an IDE (IntelliJ, Eclipse, NetBeans), open the "Run configuration" to change "Working directory" (or add the system property in "VM options").
    at org.optaplanner.examples.common.app.CommonApp.determineDataDir(CommonApp.java:50)
    at org.optaplanner.examples.common.app.CommonApp.createSolutionBusiness(CommonApp.java:126)
    at org.optaplanner.examples.common.app.CommonApp.init(CommonApp.java:114)
    at org.optaplanner.examples.app.OptaPlannerExamplesApp$1.actionPerformed(OptaPlannerExamplesApp.java:155)
    at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
    at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
    at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
    at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
    at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
    at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
    at java.desktop/java.awt.Component.processMouseEvent(Component.java:6636)
    at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
    at java.desktop/java.awt.Component.processEvent(Component.java:6401)
    at java.desktop/java.awt.Container.processEvent(Container.java:2263)
    at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012)
    at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
    at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
    at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
    at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
    at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
    at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
    at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762)
    at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
    at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
    at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
    Your help would be much appreciated.

  • @rinandarafi7995
    @rinandarafi7995 Před 6 lety

    can i ask you something sir? why my eclipse show an error sign? is that okay?

  • @felixcheruiyot3943
    @felixcheruiyot3943 Před 7 lety

    Using maven pom.xml was easier for me.

    • @HammadAKhtar09
      @HammadAKhtar09 Před 7 lety

      Did you setup optaplanner using maven pom.xml. I am struggling with it. Thanks in advance