Vegas
Vegas copied to clipboard
Can not build vegas-viz
Sorry for asking question if this is the not place for this kind of question. This is the error I get when building vegas. Anything I miss ?
[error] /Users/jzhang/github/Vegas/core/src/main/scala/vegas/render/WindowRenderer.scala:15: object WebConsoleListener is not a member of package com.sun.javafx.webkit
[error] import com.sun.javafx.webkit.WebConsoleListener
[error] ^
[error] /Users/jzhang/github/Vegas/core/src/main/scala/vegas/render/WindowRenderer.scala:37: not found: value WebConsoleListener
[error] WebConsoleListener.setDefaultListener(new WebConsoleListener {
[error] ^
[error] /Users/jzhang/github/Vegas/core/src/main/scala/vegas/render/WindowRenderer.scala:37: not found: type WebConsoleListener
[error] WebConsoleListener.setDefaultListener(new WebConsoleListener {
[error] ^
Hmm, taking a look. I'm currently using an undocumented part of the JavaFX (but should still work) to run the unit tests, but I'll find another way since it's causing problems.
Related to #72
Hello, I also have the same issue.
Trying to install Vegas library for using it on Scala Jupyter Notebooks based on Toree kernel.
I have executed this code so far :
%AddDeps com.github.vegas-viz vegas_2.11 {vegas-version} --transitive
and here is the error I am getting:
Marking com.github.vegas-viz:vegas_2.11:{vegas-version} for download Preparing to fetch from: -> file:/tmp/spark/work/bluadmin_20161212142308083000/toree_add_deps5915188028511474137/ -> https://repo1.maven.org/maven2 -> Failed to resolve com.github.vegas-viz:vegas_2.11:{vegas-version} -> not found: /tmp/spark/work/bluadmin_20161212142308083000/toree_add_deps5915188028511474137/cache/com.github.vegas-viz/vegas_2.11/ivy-{vegas-version}.xml -> not found: https://repo1.maven.org/maven2/com/github/vegas-viz/vegas_2.11/%7Bvegas-version%7D/vegas_2.11-%7Bvegas-version%7D.pom
@aishfenton Is there any workaround for it ?
Guys, I am facing the same issue now. Has this been resolved?
And you're replacing {vegas-version}
with the current version number for Vegas? i.e. 0.3.11
instead of {vegas-version}
.
I have same issue, with jdk 8.
% cat $JAVA_HOME/jre/lib/javafx.properties
javafx.runtime.version=8.0.45
@aishfenton What version of JavaFX is required?
I updated to 8.0.172 and with it does compiled well.
% cat $JAVA_HOME/jre/lib/javafx.properties
javafx.runtime.version=8.0.172
javafx.runtime.build=b11
@rogermenezes can update and push a new release.
My solution for this was using Oracle's JDK instead of OpenJDK. OpenJDK doesn't have JavaFX. If someone really wants to use OpenJDK, then building OpenFX can be a path forward (not an easy one tho).
@aishfenton should this issue be marked as closed?
I'm trying to install the vegas with jupyter-notebook using command:
import $ivy.org.vegas-viz::vegas:0.3.11
It shows the below error:
Downloading https://repo1.maven.org/maven2/org/vegas-viz/vegas_2.12/0.3.11/vegas_2.12-0.3.11.pom
Downloading https://repo1.maven.org/maven2/org/vegas-viz/vegas_2.12/0.3.11/vegas_2.12-0.3.11.pom.sha1
Downloaded https://repo1.maven.org/maven2/org/vegas-viz/vegas_2.12/0.3.11/vegas_2.12-0.3.11.pom
Downloaded https://repo1.maven.org/maven2/org/vegas-viz/vegas_2.12/0.3.11/vegas_2.12-0.3.11.pom.sha1
Failed to resolve ivy dependencies:Error downloading org.vegas-viz:vegas_2.12:0.3.11
not found: /home/admin1/.ivy2/local/org.vegas-viz/vegas_2.12/0.3.11/ivys/ivy.xml
not found: https://repo1.maven.org/maven2/org/vegas-viz/vegas_2.12/0.3.11/vegas_2.12-0.3.11.pom
Failed to resolve ivy dependencies:Error downloading org.vegas-viz:vegas_2.12:0.3.11
not found: /home/admin1/.ivy2/local/org.vegas-viz/vegas_2.12/0.3.11/ivys/ivy.xml
not found: https://repo1.maven.org/maven2/org/vegas-viz/vegas_2.12/0.3.11/vegas_2.12-0.3.11.pom