Exception in thread "main" java.lang.NoClassDefFoundError: /opt/
elasticsearch/lib/jline-0/9/94/jar
Caused by:
java.lang.ClassNotFoundException: .opt.elasticsearch.lib.jline-0.9.94.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: /opt/elasticsearch/lib/
jline-0.9.94.jar. Program will exit.
The only other result in the mailing list similar to this said to add
CDPATH="" to the script, but it's there now in 0.18.3
Exception in thread "main" java.lang.NoClassDefFoundError: /opt/
elasticsearch/lib/jline-0/9/94/jar
Caused by:
java.lang.ClassNotFoundException: .opt.elasticsearch.lib.jline-0.9.94.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: /opt/elasticsearch/lib/
jline-0.9.94.jar. Program will exit.
The only other result in the mailing list similar to this said to add
CDPATH="" to the script, but it's there now in 0.18.3
Exception in thread "main" java.lang.NoClassDefFoundError: /opt/
elasticsearch/lib/jline-0/9/94/jar
Caused by:
java.lang.ClassNotFoundException: .opt.elasticsearch.lib.jline-0.9.94.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: /opt/elasticsearch/lib/
jline-0.9.94.jar. Program will exit.
The only other result in the mailing list similar to this said to add
CDPATH="" to the script, but it's there now in 0.18.3
In general, when you upgrade, you can simply unpack the new version, point
the data location to the new one, and update relevant configs. In this
case, you can simply replace the plugin file, which is the only change
between 0.18.3 and 0.18.4, but I suggest using the "official" 0.18.4
version to remove confusion.
Exception in thread "main" java.lang.NoClassDefFoundError: /opt/
elasticsearch/lib/jline-0/9/94/jar
Caused by:
java.lang.ClassNotFoundException:
.opt.elasticsearch.lib.jline-0.9.94.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: /opt/elasticsearch/lib/
jline-0.9.94.jar. Program will exit.
The only other result in the mailing list similar to this said to add
CDPATH="" to the script, but it's there now in 0.18.3
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.