Bug描述: 原因: JDK环境没有正确加载。 解决方案: 检查Java环境 java -version 重新加载配置 在idea的终端界面运行: source ~/.bash_profile 重新打包,问题解决啦