java.lang.NoClassDefFoundError: com/sun/javafx/Utils

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

A few things cause this exception:
1) Check if you have all jars and if they're in the correct path.
2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

,

you can change your scala version to 2.11.11

Solutions on the web

java.lang.NoClassDefFoundError: com/sun/javafx/Utils
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.controlsfx.tools.Platform.getCurrentPlatform(Platform.java:65)
at org.controlsfx.tools.Platform.(Platform.java:41)
at org.controlsfx.control.ButtonBar$3.(ButtonBar.java:369)
at org.controlsfx.control.ButtonBar.(ButtonBar.java:369)
at org.controlsfx.control.ButtonBar.(ButtonBar.java:355)
at org.controlsfx.control.action.ActionUtils.createButtonBar(ActionUtils.java:429)
at impl.org.controlsfx.skin.NotificationBar.updatePane(NotificationBar.java:164)
at impl.org.controlsfx.skin.NotificationBar.(NotificationBar.java:160)
at org.controlsfx.control.Notifications$NotificationPopupHandler$1.(Notifications.java:332)
at org.controlsfx.control.Notifications$NotificationPopupHandler.show(Notifications.java:332)
at org.controlsfx.control.Notifications$NotificationPopupHandler.show(Notifications.java:317)
at org.controlsfx.control.Notifications.show(Notifications.java:263)
at com.sun.javafx.application.PlatformImpl.lambda$null$174(PlatformImpl.java:295)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$175(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$149(WinApplication.java:191)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 13 hours ago
Once, 2 days ago
2512 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.