You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Jun Rao <ju...@gmail.com> on 2014/08/01 03:21:35 UTC

Re: Apache Kafka error on windows - Couldnot find or load main class QuorumPeerMain

How did you start ZK?

Thanks,

Jun


On Wed, Jul 30, 2014 at 10:12 PM, <pr...@wipro.com> wrote:

> Hi,
>
> Yes I tried. Added CLASSPATH environment variable with value
> D:\Projects\kafka_2.8.0-0.8.1.1\libs\zookeeper-3.3.4.jar and tried to start
> kafka. But still I am getting same error.
>
> Thanks,
> Pradeep Simha
> Technical Lead
>
> -----Original Message-----
> From: Jun Rao [mailto:junrao@gmail.com]
> Sent: Thursday, July 31, 2014 10:00 AM
> To: users@kafka.apache.org
> Subject: Re: Apache Kafka error on windows - Couldnot find or load main
> class QuorumPeerMain
>
> Is zookeeper jar in your classpath?
>
> Thanks,
>
> Jun
>
>
> On Wed, Jul 30, 2014 at 6:13 AM, <pr...@wipro.com> wrote:
>
> > Hi Team,
> >
> > I just downloaded Kafka 2.8.0 from Apache website, and I am trying to
> > setup using the instructions given on the website. But when I try to
> > start zookeper server, I am getting below error:
> >
> >     Error: Could not find or load main class
> > org.apache.zookeeper.server.quorum.QuorumPeerMain
> >
> > My environment is Windows 7 64 bit. I tried to follow below e-mail chain:
> > [Apache Email Chain][1] . But still it's having same issue. Can anyone
> > guide me in this? As I am very new to this and couldn't find many
> > information on Google/Apache Kafka email chain
> >
> > [1]:
> > http://mail-archives.apache.org/mod_mbox/kafka-users/201405.mbox/%3CCA
> > LUpvHXCtTKQFe59h_SN-6jZRScqWrgv0TWsjZ-HjV7AO19GOA@mail.gmail.com%3E
> >
> > Thanks,
> > Pradeep Simha
> > Technical Lead
> > Cell: +91-8884382615
> > E-mail: pradeep.simha@wipro.com
> >
> >
> > The information contained in this electronic message and any
> > attachments to this message are intended for the exclusive use of the
> > addressee(s) and may contain proprietary, confidential or privileged
> > information. If you are not the intended recipient, you should not
> > disseminate, distribute or copy this e-mail. Please notify the sender
> > immediately and destroy all copies of this message and any attachments.
> >
> > WARNING: Computer viruses can be transmitted via email. The recipient
> > should check this email and any attachments for the presence of viruses.
> > The company accepts no liability for any damage caused by any virus
> > transmitted by this email.
> >
> > www.wipro.com
> >
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>