Hi,

I am new to Apex,

Trying to lauch apex cli, and it gives me below error:

 incubator-apex-core]$ sh engine/src/main/scripts/apex
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: 
jline/console/ConsoleReader
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)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: jline.console.ConsoleReader
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)


Can someone pls share your thoughts ?


To share some background,  I am on MAC

I cloned the apex core/malahar from git links, 
https://github.com/apache/incubator-apex-core & 
https://github.com/apache/incubator-apex-malhar
And did maven install on local MAC machine.

Later moved the entire directories in to edgenode of multi-node hadoop cluster, 
and tried to lauch apex cli, but its failing!!!

Please share your thoughts…. Thanks.

Regards,
Raja.

Reply via email to