Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] linkis source package failed #4931

Closed
1 task done
tonytdy opened this issue Oct 8, 2023 · 12 comments
Closed
1 task done

[Question] linkis source package failed #4931

tonytdy opened this issue Oct 8, 2023 · 12 comments
Labels
Question Further information is requested

Comments

@tonytdy
Copy link

tonytdy commented Oct 8, 2023

Before asking

Your environment

  • Linkis version used: 1.1.4
  • Environment name and version:
    • scala-2.12.17
    • jdk 1.8.0_351
    • 开发环境:window10

Describe your questions

Q1. 目前我将源码下载下来后,执行mvn -N install 没有问题,执行mvn clean install 是出现
image
我看到的是common中scala编译是成功的但是在编译java时,报错编码格式不对,但是我已经把所有的能够修改编码格式的地方都修改了,请问scala-maven-plugin这个插件还需要加什么配置吗,以下为编译的报错信息:
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:1:41: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:2:1: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:2:5: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:133: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:7: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:10: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:14: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:16: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:18: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:19: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:21: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:25: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:29: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:32: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:33: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:34: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:39: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:40: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:43: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:44: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:46: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:48: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:53: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:54: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:55: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:57: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:61: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:63: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:66: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:70: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:72: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:74: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:76: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:78: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:87: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:89: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:91: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:92: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:93: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:96: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:99: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:101: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:102: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:107: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:108: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:116: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:117: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:119: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:122: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:125: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:129: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:130: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:131: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:104: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:3: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:9: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:23: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:28: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:36: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:38: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:42: ????: ????UTF-8???????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\utils\ByteTimeUtils.java:47:29: ????: '' ?????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\utils\ByteTimeUtils.java:59:59: ????: '
' ?????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\utils\DESUtil.java:15:134: ????: '' ?????????
[ERROR] D:\idea-project\test\another\linkis-1.4.0\linkis-1.4.0\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\utils\VariableOperationUtils.java:23:141: ????: '
' ?????????
[WARNING] javac exited with exit code 1
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Linkis Project Parent POM 1.4.0:
[INFO]
[INFO] Linkis Project Parent POM .......................... SUCCESS [ 11.122 s]
[INFO] linkis-common ...................................... FAILURE [ 25.378 s]
[INFO] linkis-hadoop-common ............................... SKIPPED
[INFO] linkis-httpclient .................................. SKIPPED
[INFO] linkis-protocol .................................... SKIPPED
[INFO] linkis-scheduler ................................... SKIPPED
[INFO] linkis-module ...................................... SKIPPED
[INFO] linkis-mybatis ..................................... SKIPPED
[INFO] linkis-rpc ......................................... SKIPPED
[INFO] linkis-storage ..................................... SKIPPED
[INFO] linkis-commons ..................................... SKIPPED
[INFO] linkis-hadoop-hdfs-client-shade .................... SKIPPED
[INFO] linkis-eureka ...................................... SKIPPED
[INFO] linkis-label-common ................................ SKIPPED
[INFO] linkis-gateway-authentication ...................... SKIPPED
[INFO] linkis-gateway-core ................................ SKIPPED
[INFO] linkis-gateway-httpclient-support .................. SKIPPED
[INFO] linkis-spring-cloud-gateway ........................ SKIPPED
[INFO] linkis-cs-common ................................... SKIPPED
[INFO] linkis-instance-label-server ....................... SKIPPED
[INFO] linkis-gateway-server-support ...................... SKIPPED
[INFO] linkis-service-gateway ............................. SKIPPED
[INFO] linkis-spring-cloud-services ....................... SKIPPED
[INFO] linkis-computation-governance-common ............... SKIPPED
[INFO] linkis-manager-common .............................. SKIPPED
[INFO] linkis-orchestrator ................................ SKIPPED
[INFO] linkis-orchestrator-core ........................... SKIPPED
[INFO] linkis-code-orchestrator ........................... SKIPPED
[INFO] linkis-computation-orchestrator .................... SKIPPED
[INFO] linkis-bml-common .................................. SKIPPED
[INFO] linkis-bmlserver ................................... SKIPPED
[INFO] linkis-bml-client .................................. SKIPPED
[INFO] linkis-bml ......................................... SKIPPED
[INFO] linkis-cs-listener ................................. SKIPPED
[INFO] linkis-cs-client ................................... SKIPPED
[INFO] linkis-instance-label-client ....................... SKIPPED
[INFO] linkis-cs-server ................................... SKIPPED
[INFO] linkis-context-service ............................. SKIPPED
[INFO] linkis-metadata .................................... SKIPPED
[INFO] linkis-datasource-manager-common ................... SKIPPED
[INFO] linkis-metadata-query-common ....................... SKIPPED
[INFO] linkis-datasource-manager-server ................... SKIPPED
[INFO] linkis-metadata-query-service-es ................... SKIPPED
[INFO] linkis-metadata-query-service-hive ................. SKIPPED
[INFO] linkis-metadata-query-service-kafka ................ SKIPPED
[INFO] linkis-metadata-query-service-jdbc ................. SKIPPED
[INFO] linkis-metadata-query-service-hdfs ................. SKIPPED
[INFO] linkis-metadata-query-service-mongodb .............. SKIPPED
[INFO] linkis-metadata-query-server ....................... SKIPPED
[INFO] linkis-datasource-client ........................... SKIPPED
[INFO] linkis-datasource .................................. SKIPPED
[INFO] linkis-udf-common .................................. SKIPPED
[INFO] linkis-udf-client .................................. SKIPPED
[INFO] linkis-ps-common-lock .............................. SKIPPED
[INFO] linkis-udf-service ................................. SKIPPED
[INFO] linkis-jobhistory .................................. SKIPPED
[INFO] linkis-computation-client .......................... SKIPPED
[INFO] linkis-configuration ............................... SKIPPED
[INFO] linkis-variable .................................... SKIPPED
[INFO] linkis-storage-script-dev-client ................... SKIPPED
[INFO] linkis-io_file-client .............................. SKIPPED
[INFO] linkis-storage-script-dev-server ................... SKIPPED
[INFO] linkis-basedata-manager ............................ SKIPPED
[INFO] linkis-error-code-common ........................... SKIPPED
[INFO] linkis-error-code-client ........................... SKIPPED
[INFO] linkis-error-code-server ........................... SKIPPED
[INFO] linkis-error-code .................................. SKIPPED
[INFO] linkis-public-enhancements ......................... SKIPPED
[INFO] linkis-engineconn-common ........................... SKIPPED
[INFO] linkis-executor-core ............................... SKIPPED
[INFO] linkis-engineconn-plugin-core ...................... SKIPPED
[INFO] linkis-engineconn-core ............................. SKIPPED
[INFO] linkis-accessible-executor ......................... SKIPPED
[INFO] linkis-once-engineconn ............................. SKIPPED
[INFO] linkis-computation-engineconn ...................... SKIPPED
[INFO] linkis-engineconn .................................. SKIPPED
[INFO] linkis-engineconn-manager-core ..................... SKIPPED
[INFO] linkis-engineconn-linux-launch ..................... SKIPPED
[INFO] linkis-engineconn-manager-server ................... SKIPPED
[INFO] linkis-engineconn-manager .......................... SKIPPED
[INFO] linkis-manager-persistence ......................... SKIPPED
[INFO] linkis-application-manager ......................... SKIPPED
[INFO] linkis-manager ..................................... SKIPPED
[INFO] linkis-entrance .................................... SKIPPED
[INFO] linkis-cli ......................................... SKIPPED
[INFO] linkis-jdbc-driver ................................. SKIPPED
[INFO] linkis-computation-governance ...................... SKIPPED
[INFO] linkis-engineplugin-hive ........................... SKIPPED
[INFO] linkis-engineplugin-spark .......................... SKIPPED
[INFO] linkis-engineplugin-python ......................... SKIPPED
[INFO] linkis-engineplugin-openlookeng .................... SKIPPED
[INFO] linkis-engineplugin-io_file ........................ SKIPPED
[INFO] linkis-engineplugin-shell .......................... SKIPPED
[INFO] linkis-engineplugin-pipeline ....................... SKIPPED
[INFO] linkis-engineplugin-jdbc ........................... SKIPPED
[INFO] linkis-engineconn-plugin-flink ..................... SKIPPED
[INFO] linkis-engineplugin-sqoop .......................... SKIPPED
[INFO] linkis-engineplugin-presto ......................... SKIPPED
[INFO] linkis-engineplugin-trino .......................... SKIPPED
[INFO] linkis-engineplugin-elasticsearch .................. SKIPPED
[INFO] linkis-engineplugin-seatunnel ...................... SKIPPED
[INFO] linkis-engineconn-plugins .......................... SKIPPED
[INFO] linkis-extensions .................................. SKIPPED
[INFO] linkis-dist ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.354 s
[INFO] Finished at: 2023-10-08T16:59:31+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.7.1:compile (scala-compile-first) on project linkis-common: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:4.7.1:compile failed: javac returned non-zero exit code: CompileFailed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :linkis-common

Eureka service list

eg:image

Some logs info or acctch file

linkis-xxx.log:


<!--日志文字贴到这里-->

log file:

linkis-xxx.log

@tonytdy tonytdy added the Question Further information is requested label Oct 8, 2023
@github-actions
Copy link

github-actions bot commented Oct 8, 2023

😊 Welcome to the Apache Linkis community!!

We are glad that you are contributing by opening this issue.

Please make sure to include all the relevant context.
We will be here shortly.

If you are interested in contributing to our website project, please let us know!
You can check out our contributing guide on
👉 How to Participate in Project Contribution.

Community

WeChat Assistant WeChat Public Account

Mailing Lists

Name Description Subscribe Unsubscribe Archive
dev@linkis.apache.org community activity information subscribe unsubscribe archive

@casionone
Copy link
Contributor

Which maven version you used?
Try to exec

# 1. 首次编译,请执行如下命令
./mvnw -N install
# 2. 构建 Linkis 部署包
# - 选项 1: 仅构建 Linkis 服务部署包
./mvnw clean install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true

@tonytdy
Copy link
Author

tonytdy commented Oct 9, 2023

本地使用的是maven version:3.9.5,我使用./mvnw clean install -Dmaven.javadoc.skip=true -Dmaven.test.skip=true 命令
这个命令还是报错:
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:1:41: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:2:1: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:2:5: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:133: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:7: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:10: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:14: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:16: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:18: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:19: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:21: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:25: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:29: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:32: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:33: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:34: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:39: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:40: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:43: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:44: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:46: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:48: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:53: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:54: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:55: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:57: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:61: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:63: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:66: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:70: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:72: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:74: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:76: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:78: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:87: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:89: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:91: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:92: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:93: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:96: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:99: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:101: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:102: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:107: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:108: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:116: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:117: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:119: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:122: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:125: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:129: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:130: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:3:131: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:104: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:3: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:9: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:23: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:28: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:36: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:38: 错误: 编码UTF-8的不可映射字符
[ERROR] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\errorcode\ErrorCodeUtils.java:4:42: 错误: 编码UTF-8的不可映射字符
[WARNING] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\utils\ByteTimeUtils.java:47:29: '' 用作标识符
[WARNING] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\utils\ByteTimeUtils.java:59:58: '
' 用作标识符
[WARNING] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\utils\DESUtil.java:15:134: '' 用作标识符
[WARNING] E:\idea-project\linkis-release-1.3.2\linkis-release-1.3.2\linkis-commons\linkis-common\src\main\java\org\apache\linkis\common\utils\VariableOperationUtils.java:23:140: '
' 用作标识符
[WARNING] javac exited with exit code 1
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Linkis Project Parent POM 1.3.2:
[INFO]
[INFO] Linkis Project Parent POM .......................... SUCCESS [ 10.668 s]
[INFO] linkis-common ...................................... FAILURE [ 55.450 s]
[INFO] linkis-hadoop-common ............................... SKIPPED
[INFO] linkis-httpclient .................................. SKIPPED
[INFO] linkis-protocol .................................... SKIPPED
[INFO] linkis-scheduler ................................... SKIPPED
[INFO] linkis-module ...................................... SKIPPED
[INFO] linkis-mybatis ..................................... SKIPPED
[INFO] linkis-rpc ......................................... SKIPPED
[INFO] linkis-storage ..................................... SKIPPED
[INFO] linkis-commons ..................................... SKIPPED
[INFO] linkis-hadoop-hdfs-client-shade .................... SKIPPED
[INFO] linkis-eureka ...................................... SKIPPED
[INFO] linkis-label-common ................................ SKIPPED
[INFO] linkis-gateway-authentication ...................... SKIPPED
[INFO] linkis-gateway-core ................................ SKIPPED
[INFO] linkis-gateway-httpclient-support .................. SKIPPED
[INFO] linkis-spring-cloud-gateway ........................ SKIPPED
[INFO] linkis-cs-common ................................... SKIPPED
[INFO] linkis-instance-label-server ....................... SKIPPED
[INFO] linkis-gateway-server-support ...................... SKIPPED
[INFO] linkis-service-gateway ............................. SKIPPED
[INFO] linkis-spring-cloud-services ....................... SKIPPED
[INFO] linkis-computation-governance-common ............... SKIPPED
[INFO] linkis-manager-common .............................. SKIPPED
[INFO] linkis-orchestrator ................................ SKIPPED
[INFO] linkis-orchestrator-core ........................... SKIPPED
[INFO] linkis-code-orchestrator ........................... SKIPPED
[INFO] linkis-computation-orchestrator .................... SKIPPED
[INFO] linkis-bml-common .................................. SKIPPED
[INFO] linkis-bmlserver ................................... SKIPPED
[INFO] linkis-bml-client .................................. SKIPPED
[INFO] linkis-bml ......................................... SKIPPED
[INFO] linkis-cs-listener ................................. SKIPPED
[INFO] linkis-cs-client ................................... SKIPPED
[INFO] linkis-instance-label-client ....................... SKIPPED
[INFO] linkis-cs-server ................................... SKIPPED
[INFO] linkis-context-service ............................. SKIPPED
[INFO] linkis-metadata .................................... SKIPPED
[INFO] linkis-datasource-manager-common ................... SKIPPED
[INFO] linkis-metadata-query-common ....................... SKIPPED
[INFO] linkis-datasource-manager-server ................... SKIPPED
[INFO] linkis-metadata-query-service-es ................... SKIPPED
[INFO] linkis-metadata-query-service-hive ................. SKIPPED
[INFO] linkis-metadata-query-service-kafka ................ SKIPPED
[INFO] linkis-metadata-query-service-jdbc ................. SKIPPED
[INFO] linkis-metadata-query-service-hdfs ................. SKIPPED
[INFO] linkis-metadata-query-service-mongodb .............. SKIPPED
[INFO] linkis-metadata-query-server ....................... SKIPPED
[INFO] linkis-datasource-client ........................... SKIPPED
[INFO] linkis-datasource .................................. SKIPPED
[INFO] linkis-udf-common .................................. SKIPPED
[INFO] linkis-udf-client .................................. SKIPPED
[INFO] linkis-ps-common-lock .............................. SKIPPED
[INFO] linkis-udf-service ................................. SKIPPED
[INFO] linkis-jobhistory .................................. SKIPPED
[INFO] linkis-computation-client .......................... SKIPPED
[INFO] linkis-configuration ............................... SKIPPED
[INFO] linkis-variable .................................... SKIPPED
[INFO] linkis-storage-script-dev-client ................... SKIPPED
[INFO] linkis-io_file-client .............................. SKIPPED
[INFO] linkis-storage-script-dev-server ................... SKIPPED
[INFO] linkis-basedata-manager ............................ SKIPPED
[INFO] linkis-error-code-common ........................... SKIPPED
[INFO] linkis-error-code-client ........................... SKIPPED
[INFO] linkis-error-code-server ........................... SKIPPED
[INFO] linkis-error-code .................................. SKIPPED
[INFO] linkis-public-enhancements ......................... SKIPPED
[INFO] linkis-engineconn-common ........................... SKIPPED
[INFO] linkis-executor-core ............................... SKIPPED
[INFO] linkis-engineconn-plugin-core ...................... SKIPPED
[INFO] linkis-engineconn-core ............................. SKIPPED
[INFO] linkis-accessible-executor ......................... SKIPPED
[INFO] linkis-once-engineconn ............................. SKIPPED
[INFO] linkis-computation-engineconn ...................... SKIPPED
[INFO] linkis-engineconn .................................. SKIPPED
[INFO] linkis-engineconn-manager-core ..................... SKIPPED
[INFO] linkis-engineconn-linux-launch ..................... SKIPPED
[INFO] linkis-engineconn-manager-server ................... SKIPPED
[INFO] linkis-engineconn-manager .......................... SKIPPED
[INFO] linkis-manager-persistence ......................... SKIPPED
[INFO] linkis-application-manager ......................... SKIPPED
[INFO] linkis-manager ..................................... SKIPPED
[INFO] linkis-entrance .................................... SKIPPED
[INFO] linkis-cli ......................................... SKIPPED
[INFO] linkis-cli-common .................................. SKIPPED
[INFO] linkis-cli-core .................................... SKIPPED
[INFO] linkis-cli-application ............................. SKIPPED
[INFO] linkis-jdbc-driver ................................. SKIPPED
[INFO] linkis-computation-governance ...................... SKIPPED
[INFO] linkis-engineplugin-hive ........................... SKIPPED
[INFO] linkis-engineplugin-spark .......................... SKIPPED
[INFO] linkis-engineplugin-python ......................... SKIPPED
[INFO] linkis-engineplugin-openlookeng .................... SKIPPED
[INFO] linkis-engineplugin-io_file ........................ SKIPPED
[INFO] linkis-engineplugin-shell .......................... SKIPPED
[INFO] linkis-engineplugin-pipeline ....................... SKIPPED
[INFO] linkis-engineplugin-jdbc ........................... SKIPPED
[INFO] linkis-engineconn-plugin-flink ..................... SKIPPED
[INFO] linkis-engineplugin-sqoop .......................... SKIPPED
[INFO] linkis-engineplugin-presto ......................... SKIPPED
[INFO] linkis-engineplugin-trino .......................... SKIPPED
[INFO] linkis-engineplugin-elasticsearch .................. SKIPPED
[INFO] linkis-engineplugin-seatunnel ...................... SKIPPED
[INFO] linkis-engineconn-plugins .......................... SKIPPED
[INFO] linkis-extensions .................................. SKIPPED
[INFO] linkis-dist ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:10 min
[INFO] Finished at: 2023-10-09T09:10:04+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.7.1:compile (scala-compile-first) on project linkis-common: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:4.7.1:compile failed: javac returned non-zero exit code: CompileFailed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :linkis-common

@casionone
Copy link
Contributor

‘目前我将源码下载下来'
through by git clone command or git web page download ?
Can you zip the source code files and upload here

@tonytdy
Copy link
Author

tonytdy commented Oct 9, 2023

我是在github上下的zip包,以下我解压后重新压缩的包
linkis-release-1.3.2.zip

@casionone
Copy link
Contributor

https://dlcdn.apache.org/linkis/1.3.2/apache-linkis-1.3.2-src.tar.gz
You can temporarily download it here first. I have reproduced this problem. It should be related to the file encoding.
https://linkis.apache.org/download/main

我是在github上下的zip包,以下我解压后重新压缩的包 linkis-release-1.3.2.zip

@tonytdy
Copy link
Author

tonytdy commented Oct 10, 2023

目前您给的源码下载下来编译也是报文件编码问题,也是上面问题,但是我使用notepad++看后文件确实是utf-8的,请问是window无法编译吗,只能在linux上?

@jackxu2011
Copy link
Contributor

你可以加一个环境变量试试, JAVA_OPTS -Dfile.encoding=utf-8

@casionone casionone changed the title [关于将linkis 源码打包不成功] [Question] linkis source package failed Oct 11, 2023
@tonytdy
Copy link
Author

tonytdy commented Oct 17, 2023

我使用JAVA_OPTS -Dfile.encoding=utf-8还是不成功

@daochuanli
Copy link

  1. 我使用的是1.6.0的版本,从GITHUB上CLONE下来的,也是报这个错误,折腾了一天没有搞好。
  2. 我从https://dlcdn.apache.org/linkis/1.6.0/下载下来的源码,执行编译是正常的。
  3. 什么原因,我目前还不清楚。

1 similar comment
@daochuanli
Copy link

  1. 我使用的是1.6.0的版本,从GITHUB上CLONE下来的,也是报这个错误,折腾了一天没有搞好。
  2. 我从https://dlcdn.apache.org/linkis/1.6.0/下载下来的源码,执行编译是正常的。
  3. 什么原因,我目前还不清楚。

@jackxu2011
Copy link
Contributor

  1. 我使用的是1.6.0的版本,从GITHUB上CLONE下来的,也是报这个错误,折腾了一天没有搞好。
  2. 我从https://dlcdn.apache.org/linkis/1.6.0/下载下来的源码,执行编译是正常的。
  3. 什么原因,我目前还不清楚。

如果下载源码正常,clone下来不行。在windows下有可能是git把文件编码转成gbk编码了,可以找一下相关设置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants