Unresolved dependency commons
See original GitHub issueWhen trying to build a Spark plugin using this plugin I receive the following error:
[warn] Note: Unresolved dependencies path:
[warn] commons-codec:commons-codec:1.8
[warn] +- org.apache.directory.studio:org.apache.commons.codec:1.8
[warn] +- org.spark-packages:sbt-spark-package:0.2.1 (sbtVersion=0.13, scalaVersion=2.10) (/Users/rvesse/Documents/Work/Code/spark-rdf/project/plugins.sbt#L5-6)
[warn] +- default:spark-rdf-build:0.1-SNAPSHOT (sbtVersion=0.13, scalaVersion=2.10)
sbt.ResolveException: unresolved dependency: commons-codec#commons-codec;1.8: org.apache#apache;13!apache.pom(pom.original) origin location must be absolute: file:/Users/rvesse/.m2/repository/org/apache/apache/13/apache-13.pom
My build.sbt
is a simple build file generated by the Databricks spark-package tool and the project/plugins.sbt
simply has the definition for this plugin as described in the ReadMe
Any ideas on how to solve this?
Issue Analytics
- State:
- Created 8 years ago
- Comments:5
Top Results From Across the Web
How to fix this "sbt.ResolveException: unresolved dependency ...
Just deleted the commons-logging from local ~/.ivy2/cache , and re-run it. PS: I don't know why it can fix it :(.
Read more >sbt.ResolveException: unresolved dependency: commons ...
Sometimes this kind of error happens with corrupt files/configs in ~/.ivy2 or in the public repo. Deleting ~/.ivy2 folder might help. If that ......
Read more >Re: build fails due to unresolved dependency - Google Groups
time, its with a missing JDK library dependency in IndexManager.java. I've attached the full -X debug log from the 'mvn clean install' run....
Read more >Lang – Dependency Information - Apache Commons
Dependency Information · Apache Maven · Apache Buildr · Apache Ivy · Groovy Grape · Gradle/Grails · Scala SBT · Leiningen.
Read more >1717908 – Package istack-commons cannot be installed due ...
Description of problem: istack-commons cannot be installed due to unresolved dependencies. The package is from CRB repository. package: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Apparently this was some sort of corrupted Ivy 2 cache issue, deleting the
~/.ivy2/
directory entirely and relaunching SBT resolved the problemOr just the specific jars. For eg : for this error : org.apache.avro#avro;1.7.6: org.apache.avro#avro;1.7.6!avro.pom(pom.original) origin location must be absolute: file:/Users/guruprasad.gv/.m2/repository/org/apache/avro/avro/1.7.6/avro-1.7.6.pom
just delete : rm -rf ~/.ivy2/cache/org.apache.avro rm -rf ~/.ivy2/jars/org.apache.avro_avro-1.7.6.jar