Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9FD6910B45 for ; Fri, 12 Jul 2013 11:11:07 +0000 (UTC) Received: (qmail 83491 invoked by uid 500); 12 Jul 2013 11:11:05 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 83313 invoked by uid 500); 12 Jul 2013 11:11:02 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 83304 invoked by uid 99); 12 Jul 2013 11:11:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jul 2013 11:11:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mishra.vivs@gmail.com designates 209.85.215.176 as permitted sender) Received: from [209.85.215.176] (HELO mail-ea0-f176.google.com) (209.85.215.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jul 2013 11:10:56 +0000 Received: by mail-ea0-f176.google.com with SMTP id z15so6233682ead.7 for ; Fri, 12 Jul 2013 04:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=HQl0mhDdy3FsVyatFJPKXPhvwvdertTps53AZnLc18g=; b=A4N+HSUO16WCkl3XtuzbigC6sf7+XWWV6IsE5KT3bbJzhkxGNhkVITh8Idk+Qtffv2 6z+e3FWSUusEHQjx1FJIqEZp9KtPGCy68E5BBQCwkbZ+ikzAz9NNlhb3JcFf6g6onT/v Ww3sy12xfYEmXAbAv3CGukr6oQcly7J4rx2m8A1CrYQbYA76pNcBMqW4HgVakhxq9xUn gIDYORSlGJy++lBkNNDouVMI3cP61WNZEKZNsMInTTyQFn5zyWpkJbvmLwf+wPN4CkOL QZ5PSCigW4e9KIa3oCw5ot10yubpVLWuUcQmpeAzVivISmT5h/9asyc8YGOHAeSpzlnc 4A7w== MIME-Version: 1.0 X-Received: by 10.14.87.133 with SMTP id y5mr873059eee.50.1373627434939; Fri, 12 Jul 2013 04:10:34 -0700 (PDT) Received: by 10.223.148.76 with HTTP; Fri, 12 Jul 2013 04:10:34 -0700 (PDT) Date: Fri, 12 Jul 2013 16:40:34 +0530 Message-ID: Subject: Error: Main method not found in class org.apache.cassandra.service.CassandraDaemon From: Vivek Mishra To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a11c2240e50659204e14e8f30 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2240e50659204e14e8f30 Content-Type: text/plain; charset=ISO-8859-1 Earlier, everything was working fine but now i am getting this strange error. Initially i was working via tarball installation and did install a Cassandra rpm package. Since then, i am getting "Error: Main method not found in class org.apache.cassandra.service.CassandraDaemon, please define the main method as: public static void main(String[] args) " running from tarball installation. I did try setting CASSANDRA_HOME as CASSANDRA_HOME=/home/impadmin/software/apache-cassandra-1.2.4/ but no luck. This error is quite confusing, how can a user define a "main" method within Cassandra source code?? -Vivek --001a11c2240e50659204e14e8f30 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Earlier, everything was working fine but now i am getting = this strange error.=A0
Initially i was working via tarball instal= lation and did install a Cassandra rpm package.

<= div style> Since then, i am getting=A0
"Error: Main method not fo= und in class org.apache.cassandra.service.CassandraDaemon, please define th= e main method as:
=A0 =A0public static void main(String[] args)
"

running from tarball installatio= n. I did try setting CASSANDRA_HOME as=A0

CASSANDRA_HOME=3D/home/impadmin/software/apache-cassandra-1.2.4/

but no luck.

This error is quite confusing, how can a user define a "main&qu= ot; method within Cassandra source code??

-Vivek
--001a11c2240e50659204e14e8f30--