WeBankFinTech / Qualitis

Qualitis is a one-stop data quality management platform that supports quality verification, notification, and management for various datasource. It is used to solve various data quality problems caused by data processing. https://github.com/WeBankFinTech/Qualitis
Apache License 2.0
710 stars 304 forks source link

1.1.0编译报错 #203

Open Johntang666 opened 1 week ago

Johntang666 commented 1 week ago

环境:

  1. centos7;
  2. gradle 4.6; 报错信息: image
    
    Task :core/common:compileJava 
    Task ':core/common:compileJava' is not up-to-date because:
    No history is available.
    All input files are considered out-of-date for incremental task ':core/common:compileJava'.
    Compiling with JDK Java compiler API.
    /home/tzp/Qualitis-release-1.1.0/core/common/src/main/java/com/webank/wedatasphere/qualitis/constants/QualitisConstants.java:3: 错误: 程序包com.webank.wedatasphere.qualitis.constant不存在
    import com.webank.wedatasphere.qualitis.constant.SpecCharEnum;
                                                ^
    1 个错误

:core/common:compileJava (Thread[Task worker for ':' Thread 12,5,main]) completed. Took 1 mins 19.964 secs.

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. See https://docs.gradle.org/4.6/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 48s 31 actionable tasks: 5 executed, 26 up-to-date VCS Checkout Cache (/home/tzp/Qualitis-release-1.1.0/.gradle/vcsWorkingDirs) has not been cleaned up in 0 days

Johntang666 commented 1 week ago

是要升级gradle版本吗?

unifreq commented 40 minutes ago

1.1.0编译是同样的错误: Starting a Gradle Daemon (subsequent builds will be faster)

Task :core/alarm:compileJava 注: /home/hadoop/Qualitis-release-1.1.0/core/alarm/src/main/java/com/webank/wedatasphere/qualitis/client/impl/ImsAlarmClient.java使用了未经检查或不安全的操作。 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。

Task :core/common:compileJava FAILED /home/hadoop/Qualitis-release-1.1.0/core/common/src/main/java/com/webank/wedatasphere/qualitis/constants/QualitisConstants.java:3: 错误: 程序包com.webank.wedatasphere.qualitis.constant不存在 import com.webank.wedatasphere.qualitis.constant.SpecCharEnum; ^ 1 个错误

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. See https://docs.gradle.org/4.6/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 57s 31 actionable tasks: 5 executed, 26 up-to-date