bonjour,
j'ai un probléme de compilation concernant un projet,malgré que j'ai un main class
voici les erreurs:
run:
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at com.anthonyeden.lib.util.XArrayList.<clinit>(XArrayList.java:86)
at com.anthonyeden.jnm.JNM.<clinit>(JNM.java:174)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
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)
... 2 more
Could not find the main class: com.anthonyeden.jnm.JNM. Program will exit.
Exception in thread "main" Java Result: 1
BUILD SUCCESSFUL (total time: 3 seconds)
merci pour tout aide

bonjour,
j'ai un probléme de compilation concernant un projet,malgré que j'ai un main class
voici les erreurs:
run:
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at com.anthonyeden.lib.util.XArrayList.<clinit>(XArrayList.java:86)
at com.anthonyeden.jnm.JNM.<clinit>(JNM.java:174)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
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)
... 2 more
Could not find the main class: com.anthonyeden.jnm.JNM. Program will exit.
Exception in thread "main" Java Result: 1
BUILD SUCCESSFUL (total time: 3 seconds)
merci pour tout aide

here is two links that will explain and help you:http://www.universalwebservices.net/web-programming-resources/java/exception-in-thread-main-java-lang-noclassdeffounderror and this:http://javarevisited.blogspot.com/2011/06/noclassdeffounderror-exception-in.html.

i'd also suggest taking a look at the rules here:http://www.daniweb.com/forums/faq.php?faq=daniweb_policies especially:

Keeping it Clear
Do post in full-sentence English

ok thanks and i'am sorry for speanking in frensh

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.