You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by Akash Ashok <th...@gmail.com> on 2011/12/31 01:36:58 UTC
Error running whirr on cygwin
Hi,
When I try to run bin/whirr on Cygwin jars are not loaded properly into the
classpath. This works well on any linux ofcourse but not Cygwin.
java.lang.NoClassDefFoundError: org/apache/whirr/cli/Main
Caused by: java.lang.ClassNotFoundException: org.apache.whirr.cli.Main
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.apache.whirr.cli.Main. Program will
exit.
Exception in thread "main"
I'll file a JIRA
Cheers,
Akash A
Re: Error running whirr on cygwin
Posted by Akash Ashok <th...@gmail.com>.
Hi Andrei,
I've submitted the patch for this.
Cheers,
Akash A
On Sat, Dec 31, 2011 at 1:39 PM, Andrei Savu <sa...@gmail.com> wrote:
> Thanks for reporting. It should be easy to fix, I guess this is just a
> classpath construction issue.
> On Dec 31, 2011 2:53 AM, "Akash Ashok" <th...@gmail.com> wrote:
>
> > Issue filed
> > https://issues.apache.org/jira/browse/WHIRR-460
> >
> > Cheers,
> > Akash A
> >
> > On Sat, Dec 31, 2011 at 6:06 AM, Akash Ashok <th...@gmail.com>
> > wrote:
> >
> > > Hi,
> > > When I try to run bin/whirr on Cygwin jars are not loaded properly into
> > > the classpath. This works well on any linux ofcourse but not Cygwin.
> > >
> > > java.lang.NoClassDefFoundError: org/apache/whirr/cli/Main
> > > Caused by: java.lang.ClassNotFoundException: org.apache.whirr.cli.Main
> > > at java.net.URLClassLoader$1.run(Unknown Source)
> > > at java.security.AccessController.doPrivileged(Native Method)
> > > at java.net.URLClassLoader.findClass(Unknown Source)
> > > at java.lang.ClassLoader.loadClass(Unknown Source)
> > > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> > > at java.lang.ClassLoader.loadClass(Unknown Source)
> > > Could not find the main class: org.apache.whirr.cli.Main. Program will
> > > exit.
> > > Exception in thread "main"
> > >
> > > I'll file a JIRA
> > >
> > > Cheers,
> > > Akash A
> > >
> >
>
Re: Error running whirr on cygwin
Posted by Andrei Savu <sa...@gmail.com>.
Thanks for reporting. It should be easy to fix, I guess this is just a
classpath construction issue.
On Dec 31, 2011 2:53 AM, "Akash Ashok" <th...@gmail.com> wrote:
> Issue filed
> https://issues.apache.org/jira/browse/WHIRR-460
>
> Cheers,
> Akash A
>
> On Sat, Dec 31, 2011 at 6:06 AM, Akash Ashok <th...@gmail.com>
> wrote:
>
> > Hi,
> > When I try to run bin/whirr on Cygwin jars are not loaded properly into
> > the classpath. This works well on any linux ofcourse but not Cygwin.
> >
> > java.lang.NoClassDefFoundError: org/apache/whirr/cli/Main
> > Caused by: java.lang.ClassNotFoundException: org.apache.whirr.cli.Main
> > at java.net.URLClassLoader$1.run(Unknown Source)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.net.URLClassLoader.findClass(Unknown Source)
> > at java.lang.ClassLoader.loadClass(Unknown Source)
> > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> > at java.lang.ClassLoader.loadClass(Unknown Source)
> > Could not find the main class: org.apache.whirr.cli.Main. Program will
> > exit.
> > Exception in thread "main"
> >
> > I'll file a JIRA
> >
> > Cheers,
> > Akash A
> >
>
Re: Error running whirr on cygwin
Posted by Akash Ashok <th...@gmail.com>.
Issue filed
https://issues.apache.org/jira/browse/WHIRR-460
Cheers,
Akash A
On Sat, Dec 31, 2011 at 6:06 AM, Akash Ashok <th...@gmail.com> wrote:
> Hi,
> When I try to run bin/whirr on Cygwin jars are not loaded properly into
> the classpath. This works well on any linux ofcourse but not Cygwin.
>
> java.lang.NoClassDefFoundError: org/apache/whirr/cli/Main
> Caused by: java.lang.ClassNotFoundException: org.apache.whirr.cli.Main
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> Could not find the main class: org.apache.whirr.cli.Main. Program will
> exit.
> Exception in thread "main"
>
> I'll file a JIRA
>
> Cheers,
> Akash A
>