在本地机器中建立cassandra

时间:2012-12-02 08:08:22

标签: eclipse ant cassandra

当我尝试在我的本地框中构建cassandra时出现以下错误。

build-project:
     [echo] apache-cassandra: /Users/sn1/cassandra-codeBase/cassandra/build.xml
    [javac] Compiling 41 source files to /Users/sn1/cassandra-codeBase/cassandra/build/classes/thrift
    [javac] error: error reading /Users/sn1/cassandra-codeBase/cassandra/build/lib/jars/core-3.1.1.jar; cannot read zip file
    [javac] Note: /Users/sn1/cassandra-codeBase/cassandra/interface/thrift/gen-java/org/apache/cassandra/thrift/Cassandra.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

BUILD FAILED
/Users/sn1/cassandra-codeBase/cassandra/build.xml:675: Compile failed; see the compiler error output for details.

1 个答案:

答案 0 :(得分:0)

你应该在/ Users / sn1 / cassandra-codeBase / cassandra / build / lib / jars /目录中拥有core-3.1.1.jar。