thrift generated code changes frequently. check out the same revision of the thrift compiler that the jar in lib/ uses.
On Mon, Sep 20, 2010 at 1:20 AM, summer.xie <summer....@itibia.com> wrote: > Hi, > > I run "thrift -o thrift/ --gen java cassandra.thrift" to generate the java > code. But I can't not complie the source code. > > Thrift version is 0.4.0-dev, My generated code are different from the code > from svn. Why? > > How to generate the interface source code to > "apache-cassandra-0.6.5-src/interface/thrift/gen-java" > > > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com