Java 错误:严重:无法创建代理

Java 错误:严重:无法创建代理,java,agents-jade,Java,Agents Jade,我不能运行BookBuyerAgent代理 项目路径为D:\studia\magisterka\sem10\jade\jade-all-4.1.11\jade-all-4.1\jade\src\examples\bookTrading\src。 首先,我做javac bookbueragent.java,这是确定的。第二步,我执行java jade.Boot agent1:examples\bookTrading\src\BookBuyerAgent,得到错误: D:\studia\magist

我不能运行BookBuyerAgent代理

项目路径为D:\studia\magisterka\sem10\jade\jade-all-4.1.11\jade-all-4.1\jade\src\examples\bookTrading\src。 首先,我做javac bookbueragent.java,这是确定的。第二步,我执行java jade.Boot agent1:examples\bookTrading\src\BookBuyerAgent,得到错误:

D:\studia\magisterka\sem10\jade\JADE-all-4.1.1(1)\JADE-all-4.1\jade\src\examples
\bookTrading\src>java jade.Boot tu:examples\bookTrading\src\BookSellerGui
sie 27, 2012 8:13:27 PM jade.core.Runtime beginContainer
INFO: ----------------------------------
This is JADE snapshot - revision $WCREV$ of $WCDATE$
downloaded in Open Source, under LGPL restrictions,
at http://jade.tilab.com/
----------------------------------------
sie 27, 2012 8:13:28 PM jade.core.BaseService init
INFO: Service jade.core.management.AgentManagement initialized
sie 27, 2012 8:13:28 PM jade.core.BaseService init
INFO: Service jade.core.messaging.Messaging initialized
sie 27, 2012 8:13:28 PM jade.core.BaseService init
INFO: Service jade.core.mobility.AgentMobility initialized
sie 27, 2012 8:13:28 PM jade.core.BaseService init
INFO: Service jade.core.event.Notification initialized
sie 27, 2012 8:13:28 PM jade.core.messaging.MessagingService clearCachedSlice
INFO: Clearing cache
sie 27, 2012 8:13:28 PM jade.mtp.http.HTTPServer <init>
INFO: HTTP-MTP Using XML parser com.sun.org.apache.xerces.internal.jaxp.SAXParse
rImpl$JAXPSAXParser
sie 27, 2012 8:13:28 PM jade.core.messaging.MessagingService boot
INFO: MTP addresses:
http://10.1.242.245:7778/acc
sie 27, 2012 8:13:28 PM jade.core.AgentContainerImpl startBootstrapAgents
SEVERE: Cannot create agent tu: Class examples\bookTrading\src\BookSellerGui for
agent ( agent-identifier :name tu@mariusz:1099/JADE ) not found [nested java.la
ng.ClassNotFoundException: examples\bookTrading\src\BookSellerGui]
sie 27, 2012 8:13:28 PM jade.core.AgentContainerImpl joinPlatform
INFO: --------------------------------------
Agent container Main-Container@mariusz is ready.
--------------------------------------------

bookTrading\src文件夹可能是包含.java文件的源文件夹。您应该根据bookTrading\bin文件夹设置类路径,并将类名指定给Jade命令行。

是,bookTrading\src是包含.java文件的文件夹。所以对于类路径,我应该将路径添加到bookTrading\bin,然后尝试编译.java文件?