You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2008/04/12 13:43:05 UTC
[jira] Resolved: (WW-1944) Unable to load bean
org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)
[ https://issues.apache.org/struts/browse/WW-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Don Brown resolved WW-1944.
---------------------------
Resolution: Fixed
Fix Version/s: (was: 2.1.3)
2.1.1
Assignee: Don Brown
I ended up just making it required, so that error shouldn't happen anymore. I like the separate plugin idea, but as long as we have a file upload tag in core, file upload should work out of the box.
> Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)
> --------------------------------------------------------------------------------------
>
> Key: WW-1944
> URL: https://issues.apache.org/struts/browse/WW-1944
> Project: Struts 2
> Issue Type: Improvement
> Affects Versions: 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10
> Environment: Strusts 2.06 with xwork 2.0.2
> I use only actually the file strusts2-core-2.0.6.jar and xwork-2.0.2.jar
> Reporter: sebastien b.
> Assignee: Don Brown
> Fix For: 2.1.1
>
>
> Hello,
> I try to use file tag to upload a file to my server.
> The problem : When i click on submit button, i had this error :
> Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)
> I tried to understand this error and i found that struts.properties have a missing configuration on 'struts.multipart.parser' key.
> The default value about this key is "jakarta" but no jakarta class exist.
> I created a new file strusts.properties (as said in this page http://cwiki.apache.org/WW/handling-file-uploads.html) whith this option :
> struts.multipart.parser=org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
> And I downloaded commons-fileupload-1.2.jar and commons-io-1.3.1.jar packages.
> And i have no error now ...
> Can i add warning message in this page (http://cwiki.apache.org/WW/file.html) to alert about the obligation of download commons-fileupload and commons-io ?
> Cordially
> P.S. : Sorry for my poor english
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.