Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-4354

ClassNotFoundException (for class TilesViewResolver,TilesConfigurer )

    XMLWordPrintable

    Details

    • Type: Support
    • Status: Resolved
    • Priority: Major
    • Resolution: Works as Designed
    • Affects Version/s: 3.7.3.RELEASE
    • Fix Version/s: 3.8.0.RELEASE
    • Component/s: INTEGRATION
    • Labels:
      None
    • Environment:

      spring 4.1.9 (spring-framework-4.1.9.RELEASE-dist)
      tiles 3.0.5,
      sts 3.7.3 (spring-tool-suite-3.7.3.RELEASE-e4.5.2-win32-x86_64)
      windows 7,
      64 bit operation system.
      jdk1.7.0_79 (jdk-7u79-windows-x64)

      Description

      When I try to integrate spring(spring 4.1.9) mvc project with tiles 3.0.5 (I've added spring and tiles related jars to "java build path/libraries). The error showes: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.web.servlet.view.tiles3.TilesConfigurer]
      But if I deleted the bean configuration of "tilesViewResolver" and "tilesConfigurer" in sevelet xml and added "import org.springframework.web.servlet.view.tiles3.TilesViewResolver;" in my java class it runs well, no error happened.

        Attachments

          Activity

            People

            Assignee:
            mlippert Martin Lippert
            Reporter:
            xiangmei001 xiangmei lu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: