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

cli.sh execution problems #146

Closed
matesio opened this issue Mar 17, 2017 · 1 comment
Closed

cli.sh execution problems #146

matesio opened this issue Mar 17, 2017 · 1 comment

Comments

@matesio
Copy link

matesio commented Mar 17, 2017

error could not found jar file
/stream-reactor/bin/../build/libs/kafka-connect-cli-@@CLI_VERSION@@-all.jar

i tried downloading cli1.0 and executed java -jar cli1.0.jar
but it gave me error
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: scala/Option
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)

@matesio matesio changed the title cli.sh exection problems cli.sh execution problems Mar 17, 2017
@andrewstevenson
Copy link
Contributor

@matesio In the build.gradle we replace the @@CLI_VERSION@@ when building so you aren't meant to call this script.

Where did you download the cli from? Try this

wget https://github.com/datamountaineer/kafka-connect-tools/releases/download/v1.0/kafka-connect-cli-1.0-all.jar

@matesio matesio closed this as completed Mar 22, 2017
lanbotdeployer pushed a commit that referenced this issue Oct 17, 2024
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