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

Cannot create MockHttpSession with servlet 2.x

    XMLWordPrintable

    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:
      true

      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:
              Spring Issuemaster
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 25 weeks, 2 days ago