更新时间:2023-11-03 GMT+08:00
分享

应用开发类

  1. java sdk引用spring框架,显示“could not load a native library: netty_tcnative_osx_aarch_64”,jdk版本为64bit、1.8,部署包选择依赖时请选取最高版本。
     <dependency> 
       <groupId>io.netty</groupId>
       <artifactId>netty-tcnative-boringssl-static</artifactId>
       <version>2.0.44.Final</version> <!-- See table for correct version -->
       <scope>runtime</scope>
    </dependency>
  2. go下载依赖包失败,未配置proxy,请执行如下命令进行配置。
    go env -w GO111MODULE=on
    go env -w GOPROXY=https://repo.huaweicloud.com/repository/goproxy/
    go env -w GONOSUMDB=*
  3. java下载依赖包失败,检查镜像仓库地址是否为“https://repo.huaweicloud.com/repository/maven/huaweicloudsdk”,若不是,请在maven的本地仓库配置文件setting.xml中配置仓库地址。
  4. 当调用Java类型合约的时,显示“contract not ready”,请检查代码或合约文件是否正确。
分享:

华为云区块链引擎服务 所有常见问题

more