sing1ee / elasticsearch-jieba-plugin

jieba analysis plugin for elasticsearch 7.0.0, 6.4.0, 6.0.0, 5.4.0,5.3.0, 5.2.2, 5.2.1, 5.2, 5.1.2, 5.1.1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

littlelovable opened this issue · comments

拉的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

commented

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

commented

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

commented

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

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

commented

es: 8.4.1; java: 18; gradle: 7.6

commented

es: 8.4.1; java: 18; gradle: 7.6

谢谢,我尝试下