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

Cannot create MockHttpSession with servlet 2.x

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Works as Designed
    • Affects Version/s: 4.0 RC1
    • Fix Version/s: None
    • Component/s: Test
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      This shows up in the Spring OAuth build with Spring 4.0:

      java.lang.NoClassDefFoundError: javax/servlet/SessionCookieConfig
      	at org.springframework.mock.web.MockHttpSession.<init>(MockHttpSession.java:99)
      	at org.springframework.mock.web.MockHttpSession.<init>(MockHttpSession.java:89)
      	at org.springframework.mock.web.MockHttpSession.<init>(MockHttpSession.java:80)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sbrannen Sam Brannen
                Reporter:
                david_syer Dave Syer
                Last updater:
                Sam Brannen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 19 weeks, 1 day ago