无法执行示例axis2Client WSO2 EI 6.6.0

时间:2020-03-23 09:56:18

标签: wso2 wso2esb wso2ei

我正在尝试使用示例Axis2Client,但遇到以下问题。我正在跟踪页面https://docs.wso2.com/display/EI6xx/Using+the+ESB+as+JMS+Consumer+and+Producer

ant stockquote -Dmode=placeorder -Dtrpurl="jms:/StockQuoteProxy?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61616&transport.jms.ContentTypeProperty=Content-Type&transport.jms.DestinationType=queue"
Buildfile: /Users/user/WUM/wso2ei-6.6.0/samples/axis2Client/build.xml

init:

BUILD FAILED
/Users/user/WUM/wso2ei-6.6.0/samples/axis2Client/build.xml:307: /Users/user/WUM/wso2ei-6.6.0/wso2/lib/endorsed does not exist.

Total time: 0 seconds

如何解决此问题?

1 个答案:

答案 0 :(得分:1)

能否从wso2ei-6.6.0 / samples / axis2Client中的build.xml中删除以下内容。然后尝试再次执行相同的命令

        <fileset dir="../../wso2/lib/endorsed">
            <include name="*.jar"/>
        </fileset>