Bonjour, je m’appelle Mecit je cherche à développer une application JavaFx. Pour m'initier à ce langage, j'ai commencé a faire un le simili de ce site: https://code.makery.ch/fr/library/ja...utorial/part1/ .
Cependant arrivé à la deuxième page j'obtiens ce message d'erreur :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.launcher.LauncherHelper$FXHelper.main(Unknown Source) Caused by: java.lang.NoClassDefFoundError: ObservableList at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.privateGetMethodRecursive(Unknown Source) at java.lang.Class.getMethod0(Unknown Source) at java.lang.Class.getMethod(Unknown Source) at com.sun.javafx.application.LauncherImpl.launchAppl icationWithArgs(LauncherImpl.java:383) at com.sun.javafx.application.LauncherImpl.launchAppl ication(LauncherImpl.java:328) ... 5 more Caused by: java.lang.ClassNotFoundException: ObservableList at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 12 more
j'ai beau essaiyé d'importé observable list mais rien. Quelqu'un pour m'aider à régler ce problème ?
Merci,
Mecit
Partager