You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2006/09/14 07:27:27 UTC

svn commit: r443241 - /jakarta/commons/proper/fileupload/trunk/xdocs/faq.fml

Author: bayard
Date: Wed Sep 13 22:27:26 2006
New Revision: 443241

URL: http://svn.apache.org/viewvc?view=rev&rev=443241
Log:
Modifying the FAQ to cover a lack of the Commons IO jar - #FILEUPLOAD-114

Modified:
    jakarta/commons/proper/fileupload/trunk/xdocs/faq.fml

Modified: jakarta/commons/proper/fileupload/trunk/xdocs/faq.fml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/fileupload/trunk/xdocs/faq.fml?view=diff&rev=443241&r1=443240&r2=443241
==============================================================================
--- jakarta/commons/proper/fileupload/trunk/xdocs/faq.fml (original)
+++ jakarta/commons/proper/fileupload/trunk/xdocs/faq.fml Wed Sep 13 22:27:26 2006
@@ -49,13 +49,22 @@
 
     <faq id="class-not-found">
       <question>
-        Why is NoClassDefFoundError being thrown while parsing?
+        Why is NoClassDefFoundError being thrown?
       </question>
       <answer>
-        This most commonly happens when attempting to rely on a shared copy of
+        <p>There are two common causes for this error. </p>
+        
+        <p>Firstly, it might simply mean that you do not have the Commons IO 
+        jar in your classpath. FileUpload depends on IO (see 
+        <a href="dependencies.html">dependencies</a>) - you can tell if 
+        this is the case if the missing class is within the 
+        <code>org.apache.commons.io</code> package. </p>
+
+        <p>Secondly this happens when attempting to rely on a shared copy of
         the Commons FileUpload jar file provided by your web container. The
         solution is to include the FileUpload jar file as part of your own
-        web application, instead of relying on the container.
+        web application, instead of relying on the container. The same may 
+        hold for FileUpload's IO dependency. </p>
       </answer>
     </faq>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org