Merci tchize_, j'ai ajouté les lib comme tu m'as dit !
Mais j'ai encore l'erreur suivante :
1 2 3 4 5 6 7 8 9 10
|
java.lang.NoClassDefFoundError: fr/maboite/gateway/AppliMain
Caused by: java.lang.ClassNotFoundException: fr.maboite.gateway.AppliMain
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: fr.maboite.gateway.AppliMain. Program will exit. |
On dirait qu'il ne trouve pas "AppliMain" pourtant j'ai bien exécuté avec la commande :
java -cp librairie1.jar:librairie2.jar:..... fr.maboite.gateway.AppliMain
Une idée ??
Partager