I will be honest I have no idea why this throws an exeption but it does, when I try to run the project is throws,If anyone knows why this is happening I would appriciate some help since I have been stuck in this for quite some time, it would be noteworthy to say I am new to Jadex.
importjadex.bdiv3.annotation.Body;importjadex.bdiv3.annotation.Plan;importjadex.bdiv3.annotation.Plans;importjadex.bdiv3.features.IBDIAgentFeature;importjadex.micro.annotation.Agent;importjadex.micro.annotation.AgentBody;importjadex.micro.annotation.AgentFeature;importjadex.micro.annotation.Description;@Agent@Description("The translation agent A1. <br> Empty agent that can be loaded and started.")@Plans(@Plan(body=@Body(TranslationPlan.class)))publicclassTranslationBDIAgent{@AgentFeatureprotectedIBDIAgentFeaturebdi;@AgentBodypublicvoidbody(){bdi.adoptPlan(newTranslationPlan());}}
if you want to implement a BDI agent (as opposed to a micro agent) your class name has to end with BDI, not Agent, i.e. TranslationBDI not TranslationBDIAgent.
Agent classes that end with "Agent" are considered to be micro agent which do not have the BDI features (we know this is less than ideal, but it allows us to quickly identify classes without actually having to load them when scanning directories/jars).
Kai
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I will be honest I have no idea why this throws an exeption but it does, when I try to run the project is throws,If anyone knows why this is happening I would appriciate some help since I have been stuck in this for quite some time, it would be noteworthy to say I am new to Jadex.
Thanks in advance :D
Last edit: Filipe Magalhães Moreira 2016-12-04
Hi,
if you want to implement a BDI agent (as opposed to a micro agent) your class name has to end with BDI, not Agent, i.e. TranslationBDI not TranslationBDIAgent.
Agent classes that end with "Agent" are considered to be micro agent which do not have the BDI features (we know this is less than ideal, but it allows us to quickly identify classes without actually having to load them when scanning directories/jars).
Kai
Hi,
Kai I love you, you are awesome and I am a very very dumb person.
Thank you for your time.