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

Can not build vegas-viz #85

Open
zjffdu opened this issue Nov 23, 2016 · 12 comments
Open

Can not build vegas-viz #85

zjffdu opened this issue Nov 23, 2016 · 12 comments

Comments

@zjffdu
Copy link

zjffdu commented Nov 23, 2016

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]                                             ^
@aishfenton
Copy link
Member

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.

@aishfenton
Copy link
Member

Related to #72

@jdnepr
Copy link

jdnepr commented Dec 14, 2016

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

@zjffdu
Copy link
Author

zjffdu commented Jan 5, 2017

@aishfenton Is there any workaround for it ?

@GiridharKarnik
Copy link

Guys, I am facing the same issue now. Has this been resolved?

@aishfenton
Copy link
Member

And you're replacing {vegas-version} with the current version number for Vegas? i.e. 0.3.11 instead of {vegas-version}.

@strobe
Copy link

strobe commented May 22, 2018

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?

@strobe
Copy link

strobe commented May 22, 2018

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

@aishfenton
Copy link
Member

@rogermenezes can update and push a new release.

@dankolesnikov
Copy link

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

@dankolesnikov
Copy link

@aishfenton should this issue be marked as closed?

@prayas2409
Copy link

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

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

7 participants