Vegas icon indicating copy to clipboard operation
Vegas copied to clipboard

error: Symbol 'term io.circe' is missing from the classpath In zeppelin

Open takiSdr opened this issue 4 years ago • 2 comments

hello,

%dep z.load("org.vegas-viz:vegas_2.11:0.3.11") z.load("org.vegas-viz:vegas-spark_2.11:0.3.11")

import vegas._ import vegas.data.External._

implicit val render = vegas.render.ShowHTML(s => print("%html " + s)) Vegas("A simple bar chart with embedded data."). withData(Seq( Map("a" -> "A", "b" -> 28), Map("a" -> "B", "b" -> 55), Map("a" -> "C", "b" -> 43), Map("a" -> "D", "b" -> 91), Map("a" -> "E", "b" -> 81), Map("a" -> "F", "b" -> 53), Map("a" -> "G", "b" -> 19), Map("a" -> "H", "b" -> 87), Map("a" -> "I", "b" -> 52) )). encodeX("a", Ordinal). encodeY("b", Quantitative). mark(Bar). show

I have this error

:32: error: Symbol 'term io.circe' is missing from the classpath. This symbol is required by 'method vegas.DSL.SpecBuilder.asCirceJson'. Make sure that term circe is in your classpath and check for conflicting dependencies with -Ylog-classpath. A full rebuild may help if 'SpecBuilder.class' was compiled against an incompatible version of io. implicit val render = vegas.render.ShowHTML(s => print("%html " + s)) ^ :35: error: Symbol 'term .monocle' is missing from the classpath. This symbol is required by ' '. Make sure that term monocle is in your classpath and check for conflicting dependencies with -Ylog-classpath. A full rebuild may help if 'EncoderDSL.class' was compiled against an incompatible version of . Vegas("A simple bar chart with embedded data.").

I'm worked with zeppelin Version 0.8.2 Spark Version 2.4.5 Scala version 2.4.5 Java : java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

Can you help me ?

takiSdr avatar Jun 14 '20 14:06 takiSdr

I have also this error

32: error: Symbol 'term .monocle' is missing from the classpath. This symbol is required by ' '. Make sure that term monocle is in your classpath and check for conflicting dependencies with -Ylog-classpath. A full rebuild may help if 'EncoderDSL.class' was compiled against an incompatible version of . Vegas("A simple bar chart with embedded data.").

takiSdr avatar Jun 14 '20 14:06 takiSdr

I also have this error.

aw236 avatar Dec 18 '20 03:12 aw236