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

1.1.0编译报错 #203

Open
Johntang666 opened this issue Nov 20, 2024 · 2 comments
Open

1.1.0编译报错 #203

Johntang666 opened this issue Nov 20, 2024 · 2 comments

Comments

@Johntang666
Copy link

环境:

  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.

* What went wrong:
Execution failed for task ':core/common:compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

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
Copy link
Author

是要升级gradle版本吗?

@unifreq
Copy link

unifreq commented Nov 29, 2024

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.

  • What went wrong:
    Execution failed for task ':core/common:compileJava'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

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

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

No branches or pull requests

2 participants