Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7170453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:12:58+00:00 2026-05-28T15:12:58+00:00

I have very simple NetBean Project. It include this controlller line, @RequestMapping(value = /MyDoc.htm,

  • 0

I have very simple NetBean Project. It include this controlller line,

    @RequestMapping(value = "/MyDoc.htm", method = RequestMethod.POST)
    public String FormUpload(@RequestParam("file") MultipartFile file)  {        
       return "MyDoc";
    }

and in dispatcher servelet I have,

<bean id="multipartResolver"
    class="org.springframework.web.multipart.commons.CommonsMultipartResolver">

<!-- one of the properties available; the maximum file size in bytes -->
<property name="maxUploadSize" value="50000000"/>

But I am getting this error java.lang.ClassNotFoundException: org.apache.commons.fileupload.FileItemFactory

The project include just a single controller with two methods. GET and POST. GET version works very fine.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T15:12:59+00:00Added an answer on May 28, 2026 at 3:12 pm

    It looks like one of the packages you are using has a dependency on one of the apache commons software packages. You can either add it to your classpath manually, or use a build tool like maven, ant, ivy etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have very simple select like this: SELECT * FROM table WHERE column1 IN
I have very simple query like this: SELECT * FROM `all_conversations` WHERE `deleted_1` !=
I have very simple application just in the body of Main method. I have
I have very simple situation and really don't have a clue why this isn't
I have very simple form along with two database tables. In this form is
I have very simple script for submitting the form. This is html template: <table>
I have a very simple Country entity which I want to cache. This works
I have very simple data model like this: create table Company ( id int
I have very simple form, with input like this: <input id=my_id multiple=true type=file name=image_name[]
i have very simple problem. I need to create model, that represent element of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.