SVG export fails
This topic has been viewed 12739 times and has 13 replies
SVG export fails
Hi!
I can't get svg export to work on windows7 (x64) (oracle java version 7). I get this exception:
java.lang.ClassNotFoundException: Class org.freehep.graphicsio.svg.SVGGraphics2D
at com.eteks.sweethome3d.tools.ExtensionsClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.eteks.sweethome3d.tools.ExtensionsClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
I tried to add lib/freehep-vectorgraphics-svg-2.1.1b.jar to jars in the html source, but it still doesn't work.
Can somebody help me to fix it?
Thanks!
I can't get svg export to work on windows7 (x64) (oracle java version 7). I get this exception:
java.lang.ClassNotFoundException: Class org.freehep.graphicsio.svg.SVGGraphics2D
at com.eteks.sweethome3d.tools.ExtensionsClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.eteks.sweethome3d.tools.ExtensionsClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
I tried to add lib/freehep-vectorgraphics-svg-2.1.1b.jar to jars in the html source, but it still doesn't work.
Can somebody help me to fix it?
Thanks!
Re: SVG export fails
Why would you add something which is already included with the program??? I feel you can't be helped if you don't tell us what you try to do and how you did it?I tried to add lib/freehep-vectorgraphics-svg-2.1.1b.jar to jars in the html source, but it still doesn't work.
Emmanuel Puybaret, Sweet Home 3D creator
Re: SVG export fails
So, i simple view (over an apache server) the html page from the deploy folder, which containing the applet (after enable the svg export) . But the "export to svg" menu option throws a java.lang.ClassNotFoundException: Class org.freehep.graphicsio.svg.SVGGraphics2D exception. I thought that it helps to add lib/freehep-vectorgraphics-svg-2.1.1b.jar to jars list, but it doesn't. Sorry, but java isn't my strong suit, but i need this applet. In the eclipse debug it works. What do i wrong?
Re: SVG export fails
Reading SweetHome3DApplet documentation would have given you the answer: set enableExportToSVG parameter to true.
Emmanuel Puybaret, Sweet Home 3D creator
Re: SVG export fails
If it were not true, don't see the option. A more constructive reply?
Re: SVG export fails
Maybe, my English gets rusty, but I don't understand what you mean.If it were not true, don't see the option.
A nicer reply from you would be really appreciated! I'm ok to help and I helped you. If you don't want it, help yourself, it's open source! By the way, explaining why you "need this applet" would be appreciated because sharing experiences is a part of the open source world too.A more constructive reply?
Emmanuel Puybaret, Sweet Home 3D creator
Re: SVG export fails
So, sorry for my english, i'm am in hurry with the last message, and I dont speak english, it's wery difficult to me.. What I tried to say: If i can start the export, I obviously that I allowed it, no? It's not too difficulty, sorry. Can you show me a working applet with SVG export function, or it does't work at all?
Re: SVG export fails
After enabling the export, it throws this exception:
basic: JNLP2ClassLoader.findClass: com.eteks.sweethome3d.model.LengthUnit_hu: try again ..
basic: JNLP2ClassLoader.findClass: com.eteks.sweethome3d.model.LengthUnit_hu: try again ..
basic: JNLP2ClassLoader.findClass: com.eteks.sweethome3d.model.LengthUnit_hu_HU: try again ..
basic: JNLP2ClassLoader.findClass: com.eteks.sweethome3d.model.LengthUnit_hu_HU: try again ..
basic: JNLP2ClassLoader.findClass: com.eteks.sweethome3d.swing.HomeTransferableList: try again ..
basic: JNLP2ClassLoader.findClass: org.freehep.graphicsio.svg.SVGGraphics2D: try again ..
basic: JNLP2ClassLoader.findClass: org.freehep.graphicsio.svg.SVGGraphics2D: try again ..
java.lang.NoClassDefFoundError: org/freehep/graphicsio/svg/SVGGraphics2D
at com.eteks.sweethome3d.swing.PlanComponent.exportToSVG(Unknown Source)
at com.eteks.sweethome3d.swing.HomePane.exportToSVG(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.HomeController$38.call(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.HomeController$38.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.ThreadedTaskController$1.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: Class org.freehep.graphicsio.svg.SVGGraphics2D
at com.eteks.sweethome3d.tools.ExtensionsClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.eteks.sweethome3d.tools.ExtensionsClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
basic: JNLP2ClassLoader.findClass: com.eteks.sweethome3d.model.LengthUnit_hu: try again ..
basic: JNLP2ClassLoader.findClass: com.eteks.sweethome3d.model.LengthUnit_hu: try again ..
basic: JNLP2ClassLoader.findClass: com.eteks.sweethome3d.model.LengthUnit_hu_HU: try again ..
basic: JNLP2ClassLoader.findClass: com.eteks.sweethome3d.model.LengthUnit_hu_HU: try again ..
basic: JNLP2ClassLoader.findClass: com.eteks.sweethome3d.swing.HomeTransferableList: try again ..
basic: JNLP2ClassLoader.findClass: org.freehep.graphicsio.svg.SVGGraphics2D: try again ..
basic: JNLP2ClassLoader.findClass: org.freehep.graphicsio.svg.SVGGraphics2D: try again ..
java.lang.NoClassDefFoundError: org/freehep/graphicsio/svg/SVGGraphics2D
at com.eteks.sweethome3d.swing.PlanComponent.exportToSVG(Unknown Source)
at com.eteks.sweethome3d.swing.HomePane.exportToSVG(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.HomeController$38.call(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.HomeController$38.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.ThreadedTaskController$1.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: Class org.freehep.graphicsio.svg.SVGGraphics2D
at com.eteks.sweethome3d.tools.ExtensionsClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.eteks.sweethome3d.tools.ExtensionsClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Re: SVG export fails
I just try on the online version hosted on this server with no problem (the Export to SVG menu item appears only for logged in users). Did you sign freehep-vectorgraphics-svg-2.1.1b.jar?
By the way, it would be still nice to share here why you need Sweet Home 3D applet.
By the way, it would be still nice to share here why you need Sweet Home 3D applet.
Emmanuel Puybaret, Sweet Home 3D creator
Re: SVG export fails
At last I found it, the embedded jnlp file didn't conatined the right jars for the svg import. It was my fault, because I am inexperienced in this area ..
Now, I have another problem. I don't need funriture models, but only doors and windows. What furniture and texture catalogs contains these?
I downloaded the additionalFurnitureCatalog.zip, and it works, but in the catalog tree, the icons missed, replaced with a "missing image" icon..
What can I do with this?
Thank You!
Now, I have another problem. I don't need funriture models, but only doors and windows. What furniture and texture catalogs contains these?
I downloaded the additionalFurnitureCatalog.zip, and it works, but in the catalog tree, the icons missed, replaced with a "missing image" icon..
What can I do with this?
Thank You!
Who is online
Users browsing this forum: No registered users and 2 guests