# Weird Startup Problem on .14 Snapshot

**URL:** <https://discuss.elastic.co/t/weird-startup-problem-on-14-snapshot/3593>\
**Category:** Elasticsearch\
**Created:** [November 22, 2010, 5:04pm UTC](https://discuss.elastic.co/t/weird-startup-problem-on-14-snapshot/3593 "2010-11-22T17:04:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kenneth\_Loafman\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kenneth_loafman_2/32/2224_2.png) [@Kenneth\_Loafman\_2](https://discuss.elastic.co/u/Kenneth_Loafman_2)\
**Post date:** [November 22, 2010, 5:04pm UTC](https://discuss.elastic.co/t/weird-startup-problem-on-14-snapshot/3593/1 "2010-11-22T17:04:01Z")

</div>

Hi,

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.

...Thanks,  
...Ken

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [November 22, 2010, 5:08pm UTC](https://discuss.elastic.co/t/weird-startup-problem-on-14-snapshot/3593/2 "2010-11-22T17:08:11Z")

</div>

Hey,

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/... .

-shay.banon

On Mon, Nov 22, 2010 at 7:04 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:

> Hi,
> 
> 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.
> 
> ...Thanks,  
> ...Ken

---

<div class="post-metadata">

**Author:** ![Kenneth\_Loafman\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kenneth_loafman_2/32/2224_2.png) [@Kenneth\_Loafman\_2](https://discuss.elastic.co/u/Kenneth_Loafman_2)\
**Post date:** [November 22, 2010, 7:25pm UTC](https://discuss.elastic.co/t/weird-startup-problem-on-14-snapshot/3593/3 "2010-11-22T19:25:21Z")

</div>

I was running from project itself, so that was a red-herring. When running  
from an updated node I get:

ken@stealth:/opt/es-node0$  
{elasticsearch/0.14.0-SNAPSHOT/2010-11-22T17:04:25}: Initialization Failed  
...

- 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.

...Ken

On Mon, Nov 22, 2010 at 11:08 AM, Shay Banon  
[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> Hey,
> 
> 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/... .
> 
> -shay.banon
> 
> On Mon, Nov 22, 2010 at 7:04 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:
> 
> > Hi,
> > 
> > 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.
> > 
> > ...Thanks,  
> > ...Ken

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [November 22, 2010, 8:26pm UTC](https://discuss.elastic.co/t/weird-startup-problem-on-14-snapshot/3593/4 "2010-11-22T20:26:44Z")

</div>

Hi,

Since 0.12, the plugins needs to be in their extracted form under the  
plugins directory.

-shay.banon

On Mon, Nov 22, 2010 at 9:25 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:

> I was running from project itself, so that was a red-herring. When running  
> from an updated node I get:
> 
> ken@stealth:/opt/es-node0$  
> {elasticsearch/0.14.0-SNAPSHOT/2010-11-22T17:04:25}: Initialization Failed  
> ...
> 
> - 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.
> 
> ...Ken
> 
> On Mon, Nov 22, 2010 at 11:08 AM, Shay Banon \<[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)
> 
> > wrote:
> 
> > Hey,
> > 
> > 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/... .
> > 
> > -shay.banon
> > 
> > On Mon, Nov 22, 2010 at 7:04 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:
> > 
> > > Hi,
> > > 
> > > 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.
> > > 
> > > ...Thanks,  
> > > ...Ken

---

<div class="post-metadata">

**Author:** ![Kenneth\_Loafman\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kenneth_loafman_2/32/2224_2.png) [@Kenneth\_Loafman\_2](https://discuss.elastic.co/u/Kenneth_Loafman_2)\
**Post date:** [November 22, 2010, 8:54pm UTC](https://discuss.elastic.co/t/weird-startup-problem-on-14-snapshot/3593/5 "2010-11-22T20:54:53Z")

</div>

Thanks! That was it.

...Ken

On Mon, Nov 22, 2010 at 2:26 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> Hi,
> 
> Since 0.12, the plugins needs to be in their extracted form under the  
> plugins directory.
> 
> -shay.banon
> 
> On Mon, Nov 22, 2010 at 9:25 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:
> 
> > I was running from project itself, so that was a red-herring. When  
> > running from an updated node I get:
> > 
> > ken@stealth:/opt/es-node0$  
> > {elasticsearch/0.14.0-SNAPSHOT/2010-11-22T17:04:25}: Initialization Failed  
> > ...
> > 
> > - 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.
> > 
> > ...Ken
> > 
> > On Mon, Nov 22, 2010 at 11:08 AM, Shay Banon \<  
> > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > 
> > > Hey,
> > > 
> > > 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/... .
> > > 
> > > -shay.banon
> > > 
> > > On Mon, Nov 22, 2010 at 7:04 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:
> > > 
> > > > Hi,
> > > > 
> > > > 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.
> > > > 
> > > > ...Thanks,  
> > > > ...Ken

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:16am UTC](https://discuss.elastic.co/t/weird-startup-problem-on-14-snapshot/3593/6 "2017-07-06T04:16:12Z")

</div>


