我尝试远程创建容器,但系统找不到该类
这是错误:
Aug 15, 2015 3:53:55 AM jade.core.Runtime beginContainer
INFO: ----------------------------------
This is JADE 4.3.3 - revision 6726 of 2014/12/09 09:33:02
downloaded in Open Source, under LGPL restrictions,
----------------------------------------
Aug 15, 2015 3:53:55 AM jade.imtp.leap.LEAPIMTPManager initialize
INFO: Listening for intra-platform commands on address:
- jicp://169.254.222.220:1099
Aug 15, 2015 3:53:55 AM jade.core.BaseService init
INFO: Service jade.core.management.AgentManagement initialized
Aug 15, 2015 3:53:55 AM jade.core.BaseService init
INFO: Service jade.core.messaging.Messaging initialized
Aug 15, 2015 3:53:55 AM jade.core.BaseService init
INFO: Service jade.core.resource.ResourceManagement initialized
Aug 15, 2015 3:53:55 AM jade.core.BaseService init
INFO: Service jade.core.mobility.AgentMobility initialized
Aug 15, 2015 3:53:55 AM jade.core.BaseService init
INFO: Service jade.core.event.Notification initialized
Aug 15, 2015 3:53:55 AM jade.core.AgentContainerImpl startBootstrapAgents
SEVERE: Cannot create agent rma: Name-clash Agent rma@169.254.241.140:9000/JADE already present in the platform
Aug 15, 2015 3:53:55 AM jade.core.AgentContainerImpl startBootstrapAgents
**SEVERE: Cannot create agent BuyerAmjad: Class build.classes.BuyerAgents.BuyerAgent for agent ( agent-identifier :name BuyerAmjad@169.254.241.140:9000/JADE ) not found - Caused by: build.classes.BuyerAgents.BuyerAgent**
Aug 15, 2015 3:53:55 AM jade.core.AgentContainerImpl joinPlatform
INFO: --------------------------------------
Agent container Container-6@169.254.222.220 is ready.
--------------------------------------------
最佳答案
首先,您正在启动 RMA 代理(使用参数:-gui),并且似乎已经启动了一个。您只能激活一项 RMA。
另一个问题可能是远程系统无法访问您尝试创建的 BuyerAgent 的原始定义。或者至少,您没有说明远程平台必须加入哪个主平台才能进行通信。
这将是我第一次尝试对系统进行故障排除。无法访问系统就很困难。
希望对您有所帮助。
关于java - "cannot create agent , not found - Caused by "远程创建JADE容器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32021119/