I got this error when i had the below issues Java was of 1.8 version i downgraded to *jdk1.7.0_65*
Also as you say you have both Maven and Ant install i got when either of them was not installed as i was building using ANT. Hope this helps *Regards* *Asit* .7.0_65 On Tue, Feb 24, 2015 at 2:59 AM, Cheng Ren <rencheng...@gmail.com> wrote: > Hi, > I am experiencing build failure with cassandra 2.0.12. I downloaded source > from http://cassandra.apache.org/download/, did ant mvn-install and got > following error: > > [artifact:dependencies] ---------- > [artifact:dependencies] 1 required artifact is missing. > [artifact:dependencies] > [artifact:dependencies] for artifact: > [artifact:dependencies] > org.apache.cassandra:cassandra-coverage-deps:jar:2.0.12-SNAPSHOT > [artifact:dependencies] > [artifact:dependencies] from the specified remote repositories: > [artifact:dependencies] central (http://repo1.maven.org/maven2) > [artifact:dependencies] > [artifact:dependencies] > > BUILD FAILED > /Users/chengren/br/thirdparty/cassandra-2.0.12-br/build.xml:541: Unable to > resolve artifact: Missing: > ---------- > 1) com.sun:tools:jar:0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=com.sun -DartifactId=tools > -Dversion=0 -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools > -Dversion=0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) org.apache.cassandra:cassandra-coverage-deps:jar:2.0.12-SNAPSHOT > 2) net.sourceforge.cobertura:cobertura:jar:2.0.3 > 3) com.sun:tools:jar:0 > > ---------- > 1 required artifact is missing. > > for artifact: > org.apache.cassandra:cassandra-coverage-deps:jar:2.0.12-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > > It occurs really weird to me since I could build successfully yesterday. > Did something change behind the scene? > > Thanks! >