Building v2.2 of javafx-ui-controls: NoClassDefFoundError: com/sun/scenario/ToolkitAccessor
Florian Brunner
fbrunner at gmx.ch
Fri May 11 15:38:25 PDT 2012
Hi,
I'm trying to build v2.2 of javafx-ui-controls, but I get the following error:
master/rt/javafx-ui-controls/build.xml
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
check-binary-css:
javafx-ui-controls-common.-pre-init:
[java] Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/scenario/ToolkitAccessor
[java] at com.sun.javafx.Logging.getCSSLogger(Logging.java:98)
[java] at com.sun.javafx.css.parser.CSSParser.<clinit>(CSSParser.java:95)
[java] at com.sun.javafx.css.parser.Css2Bin.convertToBinary(Css2Bin.java:63)
[java] at com.sun.javafx.css.parser.Css2Bin.main(Css2Bin.java:51)
[java] Caused by: java.lang.ClassNotFoundException: com.sun.scenario.ToolkitAccessor
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
[java] ... 4 more
BUILD FAILED
In the Maven build some tests are failing.
Should we use Ant or Maven to build the project or can we use any of the two?
Also note:
http://openjdk.java.net/projects/openjfx/ only mentions v2.1 but not v2.2
Another question:
JavaFX 2.1 has been released for Windows and Mac but not for Linux.
Is there still work going on in the v2.1 repository or should we work on v2.2 now?
Regards,
Florian
More information about the openjfx-dev
mailing list