Martin Cooper wrote:

"Brice Ruth" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]


I'm refactoring (so to speak) my currently working form, which accepts
an image to be uploaded, to use a DynaValidator(Action?)Form and I'm
again running into an exception being thrown:

java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/FileUploadBase$SizeLimitExceededException



This usually happens when your container has another copy of (a different version of) the Commons FileUpload jar file, and you are not putting all of your application's jar files in your WEB-INF/lib directory, so that the wrong jar file is being loaded. Just make sure that your web app is self-contained and you should be fine.



Damn, I tracked this down last time, made sure all the JARs were the same version, and somehow a different version has crept in again ... Jeesh!! I'll have to track down through CVS how this happened ...

--
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to