Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
takiSdr opened this issue Jun 14, 2020 · 2 comments
Open

Comments

@takiSdr
Copy link

takiSdr commented Jun 14, 2020

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
Copy link
Author

takiSdr commented Jun 14, 2020

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.").

@aw236
Copy link

aw236 commented Dec 18, 2020

I also have this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants