2012-08-27 2 views
0

BookBuyerAgent 에이전트를 실행할 수 없습니다. \ studia \ magisterka \ sem10 \ 옥 \ JADE - 모든 4.1.1 (1) \ JADE-모든-4.1 \ 옥 \의의 src \ 예 \ bookTrading \ SRC : 프로젝트에오류 : 심각 : 에이전트를 만들 수 없습니다.

경로 D입니다. 처음에 내가 할 javac BookBuyerAgent.java 및이 확인. 두 번째로 내가 자바 jade.Boot의 agent1을 : 예 \ 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 [email protected]: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 [email protected] is ready. 
-------------------------------------------- 

답변

0

bookTrading \의 src 폴더 아마 (java 파일을 포함) 소스 폴더입니다. 클래스 경로를 bookTrading \ bin 폴더에 맞게 설정하고 Jade 명령 줄에 클래스 이름을 지정해야합니다.

+0

예, bookTrading \ src는 .java 파일이 들어있는 폴더입니다. 그래서 CLASSPATH에 나는 bookTrading \ bin에 경로를 추가하고 .java 파일을 컴파일해야합니까? – johny25

관련 문제