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

错误: 找不到或无法加载主类 org.gradle.wrapper.GradleWrapperMain

DachuanZhao opened this issue · comments

运行

./gradlew pz

的时候报错。

运行

./gradlew pz

的时候报错。

看起来是,gradle并没有下载完。

commented

运行

./gradlew pz

的时候报错。

看起来是,gradle并没有下载完。

解决办法是?

问题出在 elasticsearch-jieba-plugin/gradle/wrapper/ 目录 gradle-wrapper.jar缺失 .自己创建一个gradle 项目cp进来。
切换到7.4.2版本后可以通过。
image

问题出在 elasticsearch-jieba-plugin/gradle/wrapper/ 目录 gradle-wrapper.jar缺失 .自己创建一个gradle 项目cp进来。
切换到7.4.2版本后可以通过。
image

额,做 python 的表示只是想用一下这个分词插件,能说的详细一点吗

做python,直接用jieba的原版更好呀 kaojistream @.***> 于2021年4月16日周五 下午3:07写道:

问题出在 elasticsearch-jieba-plugin/gradle/wrapper/ 目录 gradle-wrapper.jar缺失 .自己创建一个gradle 项目cp进来。 切换到7.4.2版本后可以通过。 [image: image] https://user-images.githubusercontent.com/4972771/109138725-a19a2b80-7795-11eb-8bfb-b9fd55ef081a.png 额,做 python 的表示只是想用一下这个分词插件,能说的详细一点吗 — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#71 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAICIWUAO72VPQ6ELQBJ2ILTI7O4PANCNFSM4WYQDQ3A .

我现在是 haystack + es 做的全文检索,分词似乎得在 es 里做,就只能用 Java 的插件了吧。或许是我没找到正确的用法。

我试了 nany1999 的方法,但是执行 gradle wrapper 的时候报错了。🤣

> Could not get unknown property 'runtime' for configuration ':distJars' of type org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.