I just pulled .14 Snapshot from master, built, and am running into an odd
problem:
$ bin/elasticsearch
Exception in thread "main" java.lang.NoClassDefFoundError:
org/elasticsearch/bootstrap/Bootstrap
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.bootstrap.Bootstrap
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:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.elasticsearch.bootstrap.Bootstrap.
Program will exit.
Has something changed in the build process? I used 'gradlew clean release'
to build.
Works ok for me. Did you by any chance try and run the elasticsearch
script not out of the (extracted) distribution? Usually people get it when
they try and run it from the root bin/... .
I just pulled .14 Snapshot from master, built, and am running into an odd
problem:
$ bin/elasticsearch
Exception in thread "main" java.lang.NoClassDefFoundError:
org/elasticsearch/bootstrap/Bootstrap
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.bootstrap.Bootstrap
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:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.elasticsearch.bootstrap.Bootstrap.
Program will exit.
Has something changed in the build process? I used 'gradlew clean release'
to build.
NoClassSettingsException[Failed to load class setting [gateway.type] with
value [s3]]
ClassNotFoundException[s3]
I copied cloud-aws from
build/distributions/plugins/elasticsearch-cloud-aws-0.14.0-SNAPSHOT.zip to
/opt/es-node$N/plugins/cloud-aws.zip just like always. It seems not to
recognize that anymore.
Works ok for me. Did you by any chance try and run the elasticsearch
script not out of the (extracted) distribution? Usually people get it when
they try and run it from the root bin/... .
I just pulled .14 Snapshot from master, built, and am running into an odd
problem:
$ bin/elasticsearch
Exception in thread "main" java.lang.NoClassDefFoundError:
org/elasticsearch/bootstrap/Bootstrap
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.bootstrap.Bootstrap
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:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.elasticsearch.bootstrap.Bootstrap.
Program will exit.
Has something changed in the build process? I used 'gradlew clean
release' to build.
NoClassSettingsException[Failed to load class setting [gateway.type] with
value [s3]]
ClassNotFoundException[s3]
I copied cloud-aws from
build/distributions/plugins/elasticsearch-cloud-aws-0.14.0-SNAPSHOT.zip to
/opt/es-node$N/plugins/cloud-aws.zip just like always. It seems not to
recognize that anymore.
Works ok for me. Did you by any chance try and run the elasticsearch
script not out of the (extracted) distribution? Usually people get it when
they try and run it from the root bin/... .
I just pulled .14 Snapshot from master, built, and am running into an odd
problem:
$ bin/elasticsearch
Exception in thread "main" java.lang.NoClassDefFoundError:
org/elasticsearch/bootstrap/Bootstrap
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.bootstrap.Bootstrap
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:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.elasticsearch.bootstrap.Bootstrap.
Program will exit.
Has something changed in the build process? I used 'gradlew clean
release' to build.
NoClassSettingsException[Failed to load class setting [gateway.type]
with value [s3]]
ClassNotFoundException[s3]
I copied cloud-aws from
build/distributions/plugins/elasticsearch-cloud-aws-0.14.0-SNAPSHOT.zip to
/opt/es-node$N/plugins/cloud-aws.zip just like always. It seems not to
recognize that anymore.
Works ok for me. Did you by any chance try and run the elasticsearch
script not out of the (extracted) distribution? Usually people get it when
they try and run it from the root bin/... .
I just pulled .14 Snapshot from master, built, and am running into an
odd problem:
$ bin/elasticsearch
Exception in thread "main" java.lang.NoClassDefFoundError:
org/elasticsearch/bootstrap/Bootstrap
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.bootstrap.Bootstrap
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:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.elasticsearch.bootstrap.Bootstrap.
Program will exit.
Has something changed in the build process? I used 'gradlew clean
release' to build.
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.