Wednesday, December 30, 2020

Extracting structure failed --- Error while importing SBT project

 I have used the following plugin

addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.8.2") 

 Got the following error.


When  i change the plugin version to the following then everything is working fine.


addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.2")

view the library dependencies (as you would with Maven) rather than the task dependencies (which is what inspect tree displays)

 If you want to actually view the library dependencies (as you would with Maven) rather than the task dependencies (which is what inspect tree displays), then you'll want to use the sbt-dependency-graph plugin.

Add the following to your project/plugins.sbt (or the global plugins.sbt).

addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.2")

Then you have access to the dependencyTree command, and others.



Recent Post

Databricks Delta table merge Example

here's some sample code that demonstrates a merge operation on a Delta table using PySpark:   from pyspark.sql import SparkSession # cre...