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

context:component-scan element says error in the mvc-cofig.xml

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.0 GA
    • Fix Version/s: 3.2.7, 4.0.1
    • Component/s: Core
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      When I migrate 3.2.5.Release to 4.0.0.Realse, the following config tells errors

      <context:component-scan base-package="it.web,com.sowell">
      </context:component-scan>
      

      The error message is, "Error occured processing XML '[Ljava.lang.String; cannot be cast to java.lang.String'. See Error Log for more details"

        Attachments

          Activity

            People

            Assignee:
            juergen.hoeller Juergen Hoeller
            Reporter:
            not-three not-three
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 37 weeks, 5 days ago