java - 无法使用 "bin/ballerina run service services.bsz"从 wso2apim-gateway-3.0.0 根目录启动网关

标签 java wso2 wso2-api-manager ballerina

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

  1. wso2apim-3.0.0-SNAPSHOT
  2. wso2apim-das-3.0.0-SNAPSHOT
  3. wso2apim-gateway-3.0.0-SNAPSHOT

为了运行 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”工具并在环境中设置了ballerina的路径。

最佳答案

APIM网关不支持ballerina最新版本。您可以下载 ballerina 0.89 版本 [1] 并尝试一下吗?

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

关于java - 无法使用 "bin/ballerina run service services.bsz"从 wso2apim-gateway-3.0.0 根目录启动网关,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48223898/

相关文章:

java - 如何在 Joda-Time 中正确获取当前日期和时间?

java - 异常: Requires 'start' < 'end'

java - 向内部 PDF 文件添加超链接

WSO2 JWTGenerator 和 APIMgtGatewayJWTGeneratorImpl

java - wso2am 使用 API 管理用户和角色示例类未找到

java - 我可以使用哪个 API 将 int 格式化为 2 位数字?

csv - 在 WSO2 Integration Studio 中读取 .txt 文件

安装wso2 paas时出现mysql错误

ssl - WSO2 API Manager 私钥存储位置

wso2-api-manager - 如何解决从 WSO2 API Manager Store 执行 HTTPS 调用的 101500 错误消息?我必须设置证书吗?