我正在尝试远程创建容器,但系统找不到该类
这是在netbeans上运行的设置:

这就是错误:
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.
--------------------------------------------发布于 2015-09-15 20:49:09
首先,您正在启动一个RMA代理(使用参数:-gui),并且似乎已经启动了一个代理。您只能有一个活动的RMA。
另一个问题可能是远程系统无法访问您尝试创建的BuyerAgent的原始定义。或者至少,您没有说明远程用户必须加入哪个主平台才能进行通信。
这将是我第一次尝试对系统进行故障排除。如果不能访问系统就很难做到。
希望能帮上忙。
https://stackoverflow.com/questions/32021119
复制相似问题