Menu

Jadex importing jadex.base classes

Help
sdr3
2019-10-30
2019-11-01
  • sdr3

    sdr3 - 2019-10-30

    I am revisiting Jadex after a long time. And so I am going through the
    Jadex BDI tutorials at:
    https://download.actoron.com/docs/releases/latest/jadex-mkdocs/tutorials/bdiv3/02%20Your%20first%20BDI%20Agent/

    I am trying to launch a platform as shown in the tutorial. However
    importing the PlatformConfiguration and Starter class in eclipse shows an
    error:

    “The package jadex.base is accessible from more than one module:
    jadex.bridge, jadex.editor.bpmn, jadex.tools.base, jadex.tools.base.swing”

    It seems that in each .jar there is a “jadex.base” package with the same
    classes. So how do I define the correct jar to call?

    I am sorry if this is a simple question, but I have now spent a long time
    on this and I am drawing a blank.

    Kind Regards

    Sdr3

     
  • Lars Braubach

    Lars Braubach - 2019-11-01

    Hi Sdr3,

    we ship a lot of examples with the Jadex distribution. These are contained in the different application jars. You can find the tutorial stuff as well as micro examples in "applications-micro".

    To disambiguate between different classes import them fully qualified, i.e. jadex.base.Starter. The IDE (eclipse) should support finding the correct imports (e.g. ctrl/shift/o for organise imports).

    Best
    Lars

     

Log in to post a comment.

MongoDB Logo MongoDB