Announcement Announcement Module
Collapse
No announcement yet.
PathMatchingResourcePatternResolver in Spring 2.0 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • PathMatchingResourcePatternResolver in Spring 2.0

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

  • #2
    And why shouldn't it be supported? It is still around in my 2.0.6 version?

    Comment


    • #3
      Well it's not

      http://www.springframework.org/docs/...nResolver.html

      Comment


      • #4
        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...

        Comment


        • #5
          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

          Comment


          • #6
            Ah he was referencing the constructor, not the class. Then it was my wrong I thought he was referencing the complete class.

            Comment

            Working...
            X