Newbee: java.lang.NoClassDefFound [message #159872] |
Thu, 09 February 2006 16:16 |
Eclipse User |
|
|
|
Originally posted by: fmw.tibet-und-asien.de
I'm using Suse Linux 9.3, and the Webtools bundle that was available for
download today.
My problem is this: I need an upload field. For that, I downloaded the
commons fileUpload from the Apache Jakarta commons project. As I have
learned, the jar-file belongs into the WEB-INF/lib folder but how? Do I
have to use the import function? Do I have to change web.xml? Does anybody
know of a manual how to include jar-files within the Webtools framework?
Whatever I tried, I always ended up with an error like that:
java.lang.NoClassDefFoundError:
org/apache/commons/io/output/DeferredFileOutputStream
As I know from googling, this error happens when I put the jar file into a
shared dictionary instead of the one specific for the project. But I
didn't do that (I tried that before, but erased it again).
|
|
|
|
Re: Newbee: java.lang.NoClassDefFound SOLVED [message #160174 is a reply to message #160035] |
Fri, 10 February 2006 16:59 |
Eclipse User |
|
|
|
Originally posted by: fmw.tibet-und-asien.de
thanks for your help.
The actual problem was actually the following: I downloaded the
FileUploader
from the apache-commons project, and put it correctly into the WEB-INF/lib
folder. But then I simply didn't understand, that the IO-package from
apache commons project is also required. It seems it wasn't mentioned that
one needs it or I didn't find the hint.
Frank
|
|
|
|
Powered by
FUDForum. Page generated in 0.03903 seconds