geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Hejl <>
Subject Re: ClassNotFoundException:
Date Wed, 16 Mar 2011 09:04:23 GMT
Hi Kevan,

thank you for your feedback - as suggested, I've created

does indeed solve the problem (apparently, inverse-classloading doesn't 
even need to be set).

Is there a way to get around having to add commons-fileupload and 
commons-io to  WebContent/WEB-INF/lib/ at all? I tried adding a 
dependency to the deployment plan


to use the jars that are already on the server (without any jars in 
WebContent/WEB-INF/lib/) but that resulted in the same 

Should that approach work, or should the WAR or EAR always be 
self-contained regarding its dependencies?

Thank you for your help

Best regards,

Am 15.03.2011 19:44, schrieb Kevan Miller:
> On Mar 15, 2011, at 1:15 PM, Martin Hejl wrote:
>> Hi Kevan,
>> Probably I'm doing something wrong - but I'm seeing the same effect.
>> Here's what I did:
>> 	• create a simple Dynamic Web Project (jsp file containing the form definition,
and a servlet that the form-action points to
>> 	• add commons-fileupload.jar and commons-io.jar to WebContent/WEB-INF/lib/
>> 	• Deploy
> Even if the deployment plan does work for you, you could still create a Jira -- fileupload
probably shouldn't be in the axis2 classloader...
> --kevan

G & H Softwareentwicklung GmbH    Tel.: {+49|0} 7451 - 53 706 0
Robert-Bosch-Str. 23              Sitz der Gesellschaft: Horb a.N.
D-72160 Horb a.N.                 Amtsgericht Stuttgart HRB 440599
Geschäftsführer:                  Dirk Gfrörer, Martin Hejl

View raw message