2016-07-15 50 views
0

我已經通過以下網址了構建Web服務在玉http://jade.tilab.com/doc/tutorials/WSIG_Guide.pdf玉Web服務集成網關

末頁給你的指令運行由WSIG給定的樣本例子....

,當我試圖運行runMathAgent蝙蝠...我收到下面的輸出

Jul 15, 2016 12:57:55 PM jade.core.BaseService init 
INFO: Service jade.core.management.AgentManagement initialized 
Jul 15, 2016 12:57:55 PM jade.core.BaseService init 
INFO: Service jade.core.messaging.Messaging initialized 
Jul 15, 2016 12:57:55 PM jade.core.BaseService init 
INFO: Service jade.core.resource.ResourceManagement initialized 
Jul 15, 2016 12:57:55 PM jade.core.BaseService init 
INFO: Service jade.core.mobility.AgentMobility initialized 
Jul 15, 2016 12:57:55 PM jade.core.BaseService init 
INFO: Service jade.core.event.Notification initialized 
Jul 15, 2016 12:57:55 PM jade.core.AgentContainerImpl startBootstrapAgents 

> SEVERE: Cannot create agent MathAgent1: Class 
> com.tilab.wsig.examples.MathAgent for agent (agent-identifier :name 
> [email protected]) not found - Caused by: 
> com.tilab.wsig.examples.MathAgent 

Jul 15, 2016 12:57:55 PM jade.core.AgentContainerImpl joinPlatform 
INFO: -------------------------------------- 
Agent container [email protected] is ready. 
-------------------------------------------- 

回答

0

我終於想通了解決我的問題。要運行jade web服務示例,您需要使用ant(ant deploy-examples)進行部署,配置包括apache的juddi版本。這將解決問題。

0

您需要通過部署示例運行jade web服務示例:使用ant deploy-examples命令。