当我尝试在本地盒子中构建 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.