Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

拉的8.4.1的分支,修改完配置后,构建失败 #97

Open
littlelovable opened this issue Jul 3, 2023 · 5 comments
Open

拉的8.4.1的分支,修改完配置后,构建失败 #97

littlelovable opened this issue Jul 3, 2023 · 5 comments

Comments

@littlelovable
Copy link

拉的8.4.1的分支 参考文档,构建提示下面的错误信息,怎么改呢

./gradlew pz --warning-mode all

Configure project :
The RepositoryHandler.jcenter() method has been deprecated. This is scheduled to be removed in Gradle 8.0. JFrog announced JCenter's sunset in February 2021. Use mavenCentral() instead. Consult the upgrading guide for further information: https://docs.gradle.org/7.6.2/userguide/upgrading_version_6.html#jcenter_deprecation
at build_8mjhy4jmr5h5oz7ey7dvltszz$_run_closure1.doCall(/root/jieba/elasticsearch-jieba-plugin/build.gradle:21)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':compileJava'.

Could not resolve all task dependencies for configuration ':compileClasspath'.
Could not resolve project :jieba-analysis.
Required by:
project :
> No matching configuration of project :jieba-analysis was found. The consumer was configured to find an API of a library compatible with Java 17, preferably in the form of class files, preferably optimized for standard JVMs, and its dependencies declared externally but:
- None of the consumable configurations have attributes.

  • 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.

BUILD FAILED in 718ms

@LuJH12
Copy link

LuJH12 commented Aug 1, 2023

我也遇到这个问题了,请问有人知道怎么改吗?

@weikunwk
Copy link

weikunwk commented Aug 1, 2023

我一开始也出这样的错误了,之后checkout 到8.4.1分支, 按照 custom_plugin_version.md 描述一步步来,就好了

@LuJH12
Copy link

LuJH12 commented Aug 1, 2023

我一开始也出这样的错误了,之后checkout 到8.4.1分支, 按照 custom_plugin_version.md 描述一步步来,就好了

你好,请问一下你的es版本,java版本分别是多少?

@weikunwk
Copy link

weikunwk commented Aug 1, 2023

es: 8.4.1; java: 18; gradle: 7.6

@LuJH12
Copy link

LuJH12 commented Aug 1, 2023

es: 8.4.1; java: 18; gradle: 7.6

谢谢,我尝试下

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

No branches or pull requests

3 participants