Results 1 to 6 of 6

Thread: PathMatchingResourcePatternResolver in Spring 2.0

  1. #1

    Default PathMatchingResourcePatternResolver in Spring 2.0

    Does anyone knows that why in Spring 2.0 PathMatchingResourcePatternResolver(ResourceLoader resourceLoader, ClassLoader classLoader) is not supported?

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

    Default

    And why shouldn't it be supported? It is still around in my 2.0.6 version?
    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

  4. #4
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,632

    Default

    Well IT IS... At least (as I pointed out) it is in my version..

    However I hate yes/no discussion so I end it here...
    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

  5. #5
    Join Date
    Aug 2006
    Location
    Now Germany, previously Ukraine
    Posts
    1,546

    Default

    Quote Originally Posted by mdeinum View Post
    Well IT IS... At least (as I pointed out) it is in my version..

    However I hate yes/no discussion so I end it here...
    Sorry, but amardeeptalwar has right - class is there but the constructor in question (with 2 parameters) is not, while it was present in 1.2.

    Reasons behind I do not know. Change was made in 2.0RC2, change log states:
    • adapted PathMatchingResourcePatternResolver to always use the ResourceLoader's ClassLoader

  6. #6
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,632

    Default

    Ah he was referencing the constructor, not the class. Then it was my wrong I thought he was referencing the complete class.
    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

Posting Permissions

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