无法通过使用" bin / ballerina运行服务services.bsz"从wso2apim-gateway-3.0.0根目录启动网关。

时间:2018-01-12 10:08:38

标签: java wso2 wso2-am ballerina

我已经使用maven在eclipse中成功构建了wso2apimanager源代码并获得了以下zip文件。

  1. wso2apim-3.0.0-SNAPSHOT
  2. wso2apim-DAS-3.0.0-SNAPSHOT
  3. wso2apim网关-3.0.0-SNAPSHOT
  4. 要运行wso2apim,我运行了以下文件。

    1.Start ActiveMQ using ./bin/activemq start
    
    2.execute the worker.bat script from the wso2apim-das-3.0.0-SNAPSHOT/bin directory
    
    3.execute the carbon.bat script from the wso2apim-3.0.0-SNAPSHOT/wso2/key-manager/bin directory
    
    4.execute the carbon.bat script from the wso2apim-3.0.0-SNAPSHOT/wso2/default//bin directory
    
    
    5.When I am execute the "bin/ballerina run service services.bsz" command in the wso2apim-gateway-3.0.0-SNAPSHOT directory. IT is not execute and given error as below
    

    **输入行太长。

    命令的语法不正确**。

    我已经安装了" ballerina-tools-0.95.6"工具,并设置芭蕾舞女演员在环境中的路径。

1 个答案:

答案 0 :(得分:1)

APIM网关不支持ballerina最新版本。你能下载芭蕾舞女演员0.89版本[1]并试试吗?

[1] https://github.com/ballerinalang/ballerina/releases/tag/v0.89