You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "sebastien b. (JIRA)" <ji...@apache.org> on 2007/05/24 10:09:43 UTC

[jira] Created: (WW-1944) Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)

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: Bug
    Affects Versions: 2.0.6
         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.


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

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


[jira] Reopened: (WW-1944) Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes reopened WW-1944:
------------------------------

      Assignee:     (was: Don Brown)

How come we don't package the commons file upload JARs in the standard lib directory? It seems to me like we should since we have a "default" dependency on them. The Showcase app comes packaged with commons fileupload by default.

Thoughts?

> 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: Bug
>    Affects Versions: 2.0.6
>         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.
>             Fix For: 2.1.0
>
>
> 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.


[jira] Commented: (WW-1944) Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)

Posted by "Andy Law (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42162 ] 

Andy Law commented on WW-1944:
------------------------------

So for the sake of 135K of download (commons-io + commons-fileupload), you think its better to leave developers guessing as to what their dependencies might need to include when you could just stuff them into the POM and have it work for everyone (with no nasty surprises for those who *do* need file upload)?

I vote that the pom should be modified to accurately reflect the real runtime dependency.

> 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.
>             Fix For: 2.1.0
>
>
> 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.


[jira] Updated: (WW-1944) Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Brown updated WW-1944:
--------------------------

    Issue Type: Improvement  (was: Bug)

> 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.
>             Fix For: 2.1.0
>
>
> 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.


[jira] Resolved: (WW-1944) Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Brown resolved WW-1944.
---------------------------

    Resolution: Fixed
      Assignee: Don Brown  (was: Rainer Hermanns)

These types of questions should be asked first on the Struts user mailing list.  I fixed the file upload docs to add a note that the user will need to have the proper libraries in their application.

> 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: Bug
>    Affects Versions: 2.0.6
>         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.0
>
>
> 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.


[jira] Commented: (WW-1944) Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42175 ] 

Don Brown commented on WW-1944:
-------------------------------

I agree, at the least, this needs a better warning message.  I really don't want to make the fileupload jar required library as many applications don't need it, and I think the fewer dependencies, the better when it comes to core libraries. The more dependencies a library has, the harder it is to integrate into an application and more chances for version conflicts.

> 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.
>             Fix For: 2.1.0
>
>
> 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.


[jira] Updated: (WW-1944) Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)

Posted by "sebastien b. (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sebastien b. updated WW-1944:
-----------------------------

    Description: 
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 

  was:
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


> 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: Bug
>    Affects Versions: 2.0.6
>         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.
>
> 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.


[jira] Updated: (WW-1944) Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes updated WW-1944:
-----------------------------

    Affects Version/s: 2.0.7
                       2.0.8
                       2.0.9
        Fix Version/s:     (was: 2.1.0)
                       2.0.10

> 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: Bug
>    Affects Versions: 2.0.6, 2.0.7, 2.0.8, 2.0.9
>         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.
>             Fix For: 2.0.10
>
>
> 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.


[jira] Commented: (WW-1944) Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)

Posted by "sebastien b. (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42165 ] 

sebastien b. commented on WW-1944:
----------------------------------

I'm also for adding this files or adding a warning message about theses dependencies.
Best regards.

> 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.
>             Fix For: 2.1.0
>
>
> 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.


[jira] Updated: (WW-1944) Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)

Posted by "Rainer Hermanns (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rainer Hermanns updated WW-1944:
--------------------------------

    Fix Version/s: 2.1.0
         Assignee: Rainer Hermanns

> 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: Bug
>    Affects Versions: 2.0.6
>         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: Rainer Hermanns
>             Fix For: 2.1.0
>
>
> 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.


[jira] Commented: (WW-1944) Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)

Posted by "Andy Law (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42179 ] 

Andy Law commented on WW-1944:
------------------------------

In that case, I would go so far a to propose that the file-upload dependencies be factored out into a separate struts2-fileupload package. That would make the documentation much easier to write and would be far more explicit in maven (and other) dependencies.

Is that a possibility?

> 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.
>             Fix For: 2.1.0
>
>
> 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.


[jira] Updated: (WW-1944) Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Brown updated WW-1944:
--------------------------

    Fix Version/s:     (was: 2.0.11)
                   2.1.0

> 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: Bug
>    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.
>             Fix For: 2.1.0
>
>
> 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.


[jira] Resolved: (WW-1944) Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (WW-1944) Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes updated WW-1944:
-----------------------------

    Affects Version/s: 2.0.10
        Fix Version/s:     (was: 2.0.10)
                       2.0.11

Moving to 2.0.11 in preparation for 2.0.10 release.

> 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: Bug
>    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.
>             Fix For: 2.0.11
>
>
> 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.


[jira] Commented: (WW-1944) Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta)

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42109 ] 

Don Brown commented on WW-1944:
-------------------------------

Most applications don't need file upload, so IMO, it should be optional, as it is now.  I like the idea of keeping the Struts 2 deps as minimal as possible.

> 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: Bug
>    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.
>             Fix For: 2.1.0
>
>
> 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.