Retrieval of org.scala-sbt.sbt-giter8-resolver failed

I’m unable to create new projects using sbt new:

» sbt new scala/scala-seed.g8
[info] Set current project to p (in build file:/tmp/p/)
[info] Set current project to p (in build file:/tmp/p/)
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: commons-io#commons-io;2.6: org.apache#apache;18!apache.pom(pom.original) origin location must be absolute: file:$HOME/.m2/repository/org/apache/apache/18/apache-18.pom
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[error] Retrieval of org.scala-sbt.sbt-giter8-resolver:sbt-giter8-resolver:0.11.0 failed.
[error] Use 'last' for the full log.
» sbt --version
sbt version in this project: 1.3.3
sbt script version: 1.3.3

Same problem here. @akhayyat did you ever find a solution?

Yes. I don’t recall what it was exactly, but it had something to do with deleting some cache.
Searching for the issue again, it might have been resolved by deleting the ~/.ivy2 directory, as suggested in this stackoverflow answer.

That worked, thanks @akhayyat!

1 Like