Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

SVGGenerator + phantomjs

alfa gaviota
6 years ago Oct 19, 2016 4:17pm
Guillermo Alvarez
6 years ago Oct 20, 2016 2:29pm
alfa gaviota
6 years ago Oct 20, 2016 3:44pm
alfa gaviota
6 years ago Oct 20, 2016 4:57pm

I solved my problem using the second solution in localhost:

  1. Select the project > Right click > Run As > Run Configurations...
  2. Apache Tomcat > Tomcat v7.0 Server at localhost
  3. Arguments Tab > VM arguments > add this:  -Dphantom.exec="C:\phantomjs\phantomjs.exe"

It works fine, and I expect it works setting it in Java tab in Tomcat interface.

I would also like to get the first solution, because I edited the PATH system variable but it doesn't work.

I want to comment that I solved the problem of only lines in svg file. It happens because svg format doesn't accept special symbols and characters like º and ñ .

Mya Pwint Cho
3 years ago Jul 17, 2019 1:53am
teresa duartez
3 years ago Nov 27, 2019 6:02pm