Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-3815

<context:component-scan> Classloader problem

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.1 M3, 2.1 M4
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      I've tried to use <context:component-scan> in a web application which depends on some local component (.jar) that contains some classes registered into Spring Container using @Component annotation.

      However those classes are not found by ClassPathBeanDefinitionScanner class although t the base-package property is set up corretly. It is problably an issue with PathMatchingResourcePatternResolver as can be figure out in the testcase attached.

      The full description of the problem and an use case is described at spring core forum:
      http://forum.springframework.org/showthread.php?t=43234

        Attachments

          Activity

            People

            • Assignee:
              mark.fisher Mark Fisher
              Reporter:
              leopinho Leonardo Pinho
              Last updater:
              Trevor Marshall
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 30 weeks, 4 days ago