You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Jordan Zimmerman <jz...@netflix.com> on 2011/05/05 19:37:28 UTC

java.lang.NoSuchMethodError

I can't seem to get the correct version of avro. Any help with this error would be appreciated:

java.lang.NoSuchMethodError: org.apache.avro.generic.GenericData$Array.<init>(ILorg/apache/avro/Schema;)V
at org.apache.cassandra.io.SerDeUtils.createArray(SerDeUtils.java:129)
at org.apache.cassandra.config.KSMetaData.deflate(KSMetaData.java:90)
at org.apache.cassandra.db.migration.Migration.makeDefinitionMutation(Migration.java:232)
at org.apache.cassandra.db.migration.AddKeyspace.<init>(AddKeyspace.java:51)
at org.apache.cassandra.thrift.CassandraServer.system_add_keyspace(CassandraServer.java:740)
at org.apache.cassandra.thrift.Cassandra$Processor$system_add_keyspace.process(Cassandra.java:3478)
at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2555)
at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:167)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)

We're using Cassandra 0.7.0-rc4

-JZ

Re: java.lang.NoSuchMethodError

Posted by aaron morton <aa...@thelastpickle.com>.
Release Candidates are not really supported the 0.7 ones contain bugs, you should definitely not be using it. 

What is the the context for this error ? in an IDE in ant ? is the avro jar in the path ? Can you use 0.7.5 ?

Cheers

-----------------
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com

On 6 May 2011, at 05:37, Jordan Zimmerman wrote:

> I can't seem to get the correct version of avro. Any help with this error would be appreciated:
> 
> java.lang.NoSuchMethodError: org.apache.avro.generic.GenericData$Array.<init>(ILorg/apache/avro/Schema;)V
> 	at org.apache.cassandra.io.SerDeUtils.createArray(SerDeUtils.java:129)
> 	at org.apache.cassandra.config.KSMetaData.deflate(KSMetaData.java:90)
> 	at org.apache.cassandra.db.migration.Migration.makeDefinitionMutation(Migration.java:232)
> 	at org.apache.cassandra.db.migration.AddKeyspace.<init>(AddKeyspace.java:51)
> 	at org.apache.cassandra.thrift.CassandraServer.system_add_keyspace(CassandraServer.java:740)
> 	at org.apache.cassandra.thrift.Cassandra$Processor$system_add_keyspace.process(Cassandra.java:3478)
> 	at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2555)
> 	at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:167)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:680)
> 
> We're using Cassandra 0.7.0-rc4
> 
> -JZ