Closed karuppiah7890 closed 3 years ago
https://tikv.org/docs/5.1/concepts/tikv-in-5-minutes/ refers to https://download.pingcap.org/tikv-client-java-3.2.0-SNAPSHOT.jar for Java client jar but that link does not work
what do you mean by that link does not work
?
The JAR file link https://download.pingcap.org/tikv-client-java-3.2.0-SNAPSHOT.jar does not work, I'm not able to download that JAR file
$ curl -f -o tikv-client-java.jar https://download.pingcap.org/tikv-client-java-3.2.0-SNAPSHOT.jar
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (22) The requested URL returned error: 403
Change Request
https://tikv.org/docs/5.1/concepts/tikv-in-5-minutes/ refers to https://download.pingcap.org/tikv-client-java-3.2.0-SNAPSHOT.jar for Java client jar but that link does not work
Describe the problem
Suggest an improvement/fix
I had to then use https://search.maven.org/remotecontent?filepath=org/tikv/tikv-client-java/3.1.2/tikv-client-java-3.1.2.jar to get v3.1.2 with this jar the code snippet also didn't work giving errors like this -
Note the error -
I had to then change the code, and not use
Optional
for result, something like this -and then it worked with this output