[ 
https://issues.apache.org/struts/browse/WW-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43038#action_43038
 ] 

James Mitchell commented on WW-2446:
------------------------------------

That dependency is compile-time only.  It is not needed unless you are using 
that part of core.  You have a choice not to, which makes this an 'optional' 
dependency, as stated in the pom.xml for core.

I agree that this can be a little confusing, but that's why we have 
documentation.  We probably should put up something on this page:

  http://struts.apache.org/2.x/docs/how-do-we-upload-files.html

I'll add something there.

Thanks again for your help.

> Missing needed dependency in current distribution for File Upload feature.
> --------------------------------------------------------------------------
>
>                 Key: WW-2446
>                 URL: https://issues.apache.org/struts/browse/WW-2446
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.0.11
>         Environment: Solaris
>            Reporter: Craig Swift
>
> Currently when trying to use the file upload feature the following errors 
> occur: java.lang.RuntimeException: Unable to load bean 
> org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta) - [unknown 
> location]
> This can be fixed by including the commons-fileupload jar in the web 
> application. Unfortunately this isn't included in the standard struts 
> distribution and the wiki doesn't explain it. Please include in the future, 
> thanks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to