Pages

Saturday, January 2, 2016

Issues while setting up Jade (Java Agent Development Framework)

Use the following command to avoind the errors given below:

java -cp "jade.jar:(path to your classes)" jade.Boot -agents nickName:(fully qualified name for the agent class E.g., packageName:className)

E.g.,
java -cp "jade.jar:Control-0.0.1-SNAPSHOT.jar" jade.Boot -agents buy:Examples.BookBuyerAgent

Possible errors due to issues in class path or class name:

Error creating the Profile [Can't load properties: Cannot find file buyer:BookBuyerAgent]
jade.core.ProfileException: Can't load properties: Cannot find file buyer:BookBuyerAgent
    at jade.core.ProfileImpl.(ProfileImpl.java:129)
    at jade.Boot.main(Boot.java:76)


jade.Boot: No such file or directory

SEVERE: Cannot create agent buyer: Class BookBuyerAgent for agent ( agent-identifier :name buyer@172.20.10.2:1099/JADE ) not found - Caused by:  BookBuyerAgent

1 comment:


  1. You don't overcome challenges by making them smaller but by making yourself bigger
    _________________________
    I find a interest game, join us now!: CSGO Skins and Buy CSGO Skins

    ReplyDelete