Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 49680 invoked from network); 6 Apr 2010 09:40:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Apr 2010 09:40:15 -0000 Received: (qmail 22236 invoked by uid 500); 6 Apr 2010 09:40:14 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 22217 invoked by uid 500); 6 Apr 2010 09:40:14 -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 22207 invoked by uid 99); 6 Apr 2010 09:40:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 09:40:13 +0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of sylvain@yakaz.com does not designate 209.85.220.216 as permitted sender) Received: from [209.85.220.216] (HELO mail-fx0-f216.google.com) (209.85.220.216) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 09:40:07 +0000 Received: by fxm8 with SMTP id 8so3407641fxm.25 for ; Tue, 06 Apr 2010 02:39:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.118.81 with HTTP; Tue, 6 Apr 2010 02:39:22 -0700 (PDT) In-Reply-To: References: From: Sylvain Lebresne Date: Tue, 6 Apr 2010 11:39:22 +0200 Received: by 10.223.143.88 with SMTP id t24mr6856444fau.77.1270546782460; Tue, 06 Apr 2010 02:39:42 -0700 (PDT) Message-ID: Subject: Re: i have one mistake in Cassandra.java when i build it To: user@cassandra.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable That's a bit short of a description, but quite possibly you have a mismatch somehow between your compiled thrift java bindings and cassandra itself. Try to do an ant clean followed by ant gen-thrift-java followed by ant to rebuild everything. -- Sylvain On Tue, Apr 6, 2010 at 11:34 AM, =E5=8F=B6=E6=B1=9F = wrote: > hi: > =C2=A0=C2=A0 i want to take some experiments on cassandra by java, but wh= en i write > client,a mistake can not convert int to ConsistencyLevel appear, so how c= an > i solve ? thanks very much.