Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3350

IntegrationRequestMappingHandlerMapping Causes App to Fail to Start

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.0 M4
    • Fix Version/s: 4.0 RC1
    • Component/s: HTTP Support
    • Labels:

      Description

      The spring-integration-samples/basic/testing-examples has spring-integration-http on the classpath but does not use it. It does not have the servlet API on the classpath.

      The application fails to load with ClassDefNotFoundError on ServletException.

      I can fix the sample, but it would be good if we could somehow avoid this behavior.

      Perhaps declaring the bean lazy-init would solve this issue.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abilan Artem Bilan
              Reporter:
              grussell Gary Russell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: