Results 1 to 3 of 3

Thread: MultipartFile missing - version 3.2.1

  1. #1
    Join Date
    Jun 2009
    Location
    Vicenza, Italy
    Posts
    84

    Question MultipartFile missing - version 3.2.1

    Hi everybody,
    I'm upgrading from 3.1.x to 3.2.1 and I can no longer find the class org.springframework.web.multipart.MultipartFile: maybe it has been moved in other artifacts but I can't find which one.

    Previously, I only had to import the package
    HTML Code:
    <properties>
            ....
         	<spring.version.min>3.0.0.RELEASE</spring.version.min>
    	<spring.version.max>4.0.0.RELEASE</spring.version.max>
    	<spring.version>[${spring.version.min},${spring.version.max})</spring.version>
    <properties>
    .....
    <dependency>
    	<groupId>org.springframework</groupId>
    	<artifactId>spring-webmvc</artifactId>
    	<version>${spring.version}</version>
    </dependency>
    Can someone help me? (this is quite urgent as the project must be upgraded but currently it does not even compile)

    One more question: apparently version 3.2.x is not back-compatible with 3.1.x. Is that correct? If so, which convention do you use to name spring version (I always assumed you used the Apache one).

    Thanks,
    Stefano
    Last edited by zakhrim; Jan 31st, 2013 at 04:03 AM. Reason: added code

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,695

    Default

    Add spring-web as a dependency.... Why read this..
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3
    Join Date
    Jun 2009
    Location
    Vicenza, Italy
    Posts
    84

    Default

    Sorry for the late reply Marten, I had to solve many other issues and so I got back to 3.1.
    Now I've moved the project definitively to 3,2 and adding spring-web solved the problem.

    Thanks,
    Stefano

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •