I try to re-generate the Java interface from cassandra.thrift, however, i
got error message as

   gen-thrift-java:

     [echo] Generating Thrift Java code from
/Documents/eclipse/MaaSWorkspace/C_7_0/interface/cassandra.thrift ....

     [exec]
[FAILURE:/Documents/eclipse/MaaSWorkspace/C_7_0/interface/cassandra.thrift:375]
type error: const consistency_level was declared as type ConsistencyLevel
which is an enum, but ConsistencyLevel.ONE is not a valid value for that
enum


BUILD FAILED


Any suggestion on what could be wrong?


Cheers,


Liangzhao

Reply via email to