DataSphereStudio icon indicating copy to clipboard operation
DataSphereStudio copied to clipboard

[Bug] DSS1.1.0编译报错 package org.apache.commons.lang does not exist

Open Yiutto opened this issue 3 years ago • 2 comments

Search before asking

  • [X] I searched the issues and found no similar issues.

DSS Component

dss-commons

What happened + What you expected to happen

下载DSS1.1.0后修改pom.xml,将linkis版本设置为1.2.0

c4b9a627dd68b6d1dbb8b7677789b51 f3cb7b3bf9f261ad5e42993024f7551

Relevent platform

linkis -1.2.0 dss-1.1.0

Reproduction script

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project dss-linkis-node-execution: Compilation failure: Compilation failure: [ERROR] /home/hadoop/DataSphereStudio-1.1.0/dss-orchestrator/orchestrators/dss-workflow/dss-linkis-node-execution/src/main/java/com/webank/wedatasphere/dss/linkis/node/execution/service/impl/BuildJobActionImpl.java:[25,31] package org.apache.commons.lang does not exist [ERROR] /home/hadoop/DataSphereStudio-1.1.0/dss-orchestrator/orchestrators/dss-workflow/dss-linkis-node-execution/src/main/java/com/webank/wedatasphere/dss/linkis/node/execution/service/impl/BuildJobActionImpl.java:[26,31] package org.apache.commons.lang does not exist

Anything else

No response

Are you willing to submit a PR?

  • [X] Yes I am willing to submit a PR!

Yiutto avatar Sep 13 '22 10:09 Yiutto

linkis为1.1.1版本则可以编译通过。

Yiutto avatar Sep 13 '22 10:09 Yiutto

有网友说换个master下载可以,试试吧 https://github.com/WeBankFinTech/DataSphereStudio.git 照着报错 把java代码里面的"import org.apache.commons.lang" 改为“import org.apache.commons.lang3”

还真他娘编译成功了。 image

Yiutto avatar Sep 14 '22 06:09 Yiutto